Skip to content

Commit ed7295f

Browse files
committed
actions: run pytest wit pypy
Signed-off-by: flashdagger <flashdagger@googlemail.com>
1 parent 6f675cb commit ed7295f

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/core-tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v6
21-
- name: Pipx cache for uv
21+
- name: Setup pipx cache
2222
uses: actions/cache@v5
2323
with:
2424
path: |
@@ -35,14 +35,18 @@ jobs:
3535
run: |
3636
pipx install uv
3737
uv sync -p ${{ matrix.python-version }}
38-
echo $HOME
39-
du -h $HOME/.cache
4038
- name: Unit tests with pytest
4139
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
4240
run: |
4341
uv run pytest
4442
env:
4543
COVERAGE_FILE: .coverage.${{ matrix.python-version }}
44+
- name: Unit tests with pytest
45+
if: ${{ startsWith(matrix.python-version, 'pypy') }}
46+
run: |
47+
uv run pytest --ignore-glob "*.yml"
48+
env:
49+
COVERAGE_FILE: .coverage.${{ matrix.python-version }}
4650
- name: Upload coverage data
4751
if: success() || failure()
4852
uses: actions/upload-artifact@v7
@@ -74,7 +78,7 @@ jobs:
7478
uses: actions/download-artifact@v8
7579
with:
7680
merge-multiple: true
77-
- name: Pipx cache for coverage
81+
- name: Setup coverage cache
7882
uses: actions/cache@v5
7983
with:
8084
path: |
@@ -84,7 +88,6 @@ jobs:
8488
- name: Install Python coverage
8589
run: |
8690
pipx install coverage[toml]
87-
pipx list --verbose
8891
- name: Merge coverage data and compute total coverage
8992
continue-on-error: true
9093
run: |

0 commit comments

Comments
 (0)