Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
pytest --cov=pymodaq_data -n 1
mv .coverage coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.5.0
with:
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
path: coverage/coverage_${{ matrix.os }}_${{ matrix.python-version }}
Expand All @@ -80,15 +80,15 @@ jobs:

- name: generate badge (success)
if: ${{ success() }}
uses: emibcn/badge-action@v2.0.2
uses: emibcn/badge-action@v2.0.3
with:
label: ''
status: 'passing'
color: 'green'
path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg'
- name: generate badge (fail)
if: ${{ failure() }}
uses: emibcn/badge-action@v2.0.2
uses: emibcn/badge-action@v2.0.3
with:
label: ''
status: 'failing'
Expand All @@ -98,7 +98,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}}
path: '${{ steps.extract_branch.outputs.branch }}/tests_${{runner.os}}_${{matrix.python-version}}.svg'
Expand All @@ -112,12 +112,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 @@ -136,7 +136,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 @@ -150,7 +150,7 @@ jobs:
uses: actions/checkout@v4.2.2

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

Expand All @@ -171,7 +171,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
Loading