Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nggit committed Jul 18, 2024
1 parent c8a5ecc commit 5841e05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
os: ['ubuntu-20.04', 'windows-latest']
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand All @@ -43,13 +43,11 @@ jobs:
- name: Run tests with coverage
run: |
python -m coverage run tests.py
python -m coverage combine
mkdir artifact && mv .coverage artifact/.coverage.${{ matrix.os }}
if: ${{ matrix.python-version == '3.12' && !startsWith(matrix.os, 'windows-') }}
- name: Run tests with coverage on Windows
run: |
python -m coverage run tests.py
python -m coverage combine
mkdir artifact && move .coverage artifact\.coverage.windows
shell: cmd
if: ${{ matrix.python-version == '3.12' && startsWith(matrix.os, 'windows-') }}
Expand Down

0 comments on commit 5841e05

Please sign in to comment.