Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github action versions
Browse files Browse the repository at this point in the history
Adds the flag `include-hidden-files: true` to the upload artifact action
as behavior was changed in 4.4.1.
Preocts committed Dec 28, 2024
1 parent db35bd1 commit a43a5f5
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "python tests and coverage"
# Uses:
# https://github.com/actions/setup-python
# https://github.com/actions/checkout
# https://github.com/actions/download-artifact
# https://github.com/actions/upload-artifact
# https://github.com/actions/setup-python : 0b93645e9fea7318ecaed2b359559ac225c90a2b
# https://github.com/actions/checkout : 11bd71901bbe5b1630ceea73d27597364c9af683
# https://github.com/actions/download-artifact : fa0a91b85d4f404e444e00e005971372dc801d16
# https://github.com/actions/upload-artifact : 6f51ac03b9356f520e9adb1b1b7802705f340c2b

on:
pull_request:
@@ -33,10 +33,10 @@ jobs:

steps:
- name: "Repo checkout"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"

- name: "Set up Python ${{ matrix.python-version }}"
uses: "actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c"
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
with:
python-version: "${{ matrix.python-version }}"
allow-prereleases: true
@@ -50,22 +50,23 @@ jobs:
nox --session tests_with_coverage-${{ matrix.python-version }}
- name: "Save coverage artifact"
uses: "actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3"
uses: "actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b"
with:
name: "coverage-artifact-${{ matrix.os}}-${{ matrix.python-version}}"
path: ".coverage.*"
retention-days: 1
include-hidden-files: true

coverage-compile:
name: "coverage compile"
needs: "run-tests-and-coverage"
runs-on: "ubuntu-latest"
steps:
- name: "Repo checkout"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"

- name: "Set up Python"
uses: "actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c"
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
with:
python-version: "3.12"

@@ -74,7 +75,7 @@ jobs:
python -m pip install --upgrade pip nox
- name: "Download coverage artifacts"
uses: "actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427"
uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16"
with:
pattern: "coverage-artifact-*"
merge-multiple: true
@@ -91,10 +92,10 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Repo checkout"
uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"

- name: "Set up Python"
uses: "actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c"
uses: "actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b"
with:
python-version: "3.12"

0 comments on commit a43a5f5

Please sign in to comment.