Skip to content

Commit

Permalink
Update GitHub Action Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 5, 2025
1 parent fff13a8 commit e9f723e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
pytest -vv --cov=pymodaq_gui -n 1
mv .coverage coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}_${{ matrix.qt-backend }}
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
with:
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}_${{ matrix.qt-backend }}
path: coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}_${{ matrix.qt-backend }}
Expand All @@ -89,15 +89,15 @@ jobs:
- name: generate badge (success)
if: ${{ success() }}
uses: emibcn/[email protected].2
uses: emibcn/[email protected].3
with:
label: ''
status: 'passing'
color: 'green'
path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}_${{matrix.qt-backend}}.svg'
- name: generate badge (fail)
if: ${{ failure() }}
uses: emibcn/[email protected].2
uses: emibcn/[email protected].3
with:
label: ''
status: 'failing'
Expand All @@ -107,7 +107,7 @@ jobs:

- name: Upload badge artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
with:
name: tests_${{runner.os}}_${{matrix.python-version}}_${{matrix.qt-backend}}
path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}_${{matrix.qt-backend}}.svg'
Expand All @@ -121,12 +121,12 @@ jobs:
needs: tests # Ensure this job runs after all matrix jobs complete
steps:
# switch to badges branches to commit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
ref: badges

- name: Download badges
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.1.8

- name: Reorganize badges
run: |
Expand All @@ -145,7 +145,7 @@ jobs:
git commit --allow-empty -m "Add/Update badge"
- name: Push badges
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@v0.8.0
if: ${{ success() }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -159,7 +159,7 @@ jobs:
uses: actions/[email protected]

- name: Download all coverage artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.1.8
with:
path: ./coverage-reports

Expand All @@ -180,7 +180,7 @@ jobs:
coverage xml -i
- name: Upload combined coverage report to Codecov
uses: codecov/codecov-action@v5.0.7
uses: codecov/codecov-action@v5.1.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

0 comments on commit e9f723e

Please sign in to comment.