Skip to content

Commit bea2149

Browse files
committed
do not use unknown --parallel-mode option
1 parent 9e90ea0 commit bea2149

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ jobs:
5050
run: |
5151
pyright --version
5252
pyright -p pyproject.toml --pythonversion ${{ matrix.python-version }}
53-
- run: pytest --cov bioimageio --parallel-mode --cov-append --capture no
53+
- run: pytest --cov bioimageio --cov-append --capture no
5454
env:
5555
BIOIMAGEIO_CACHE_PATH: bioimageio_cache
5656
RUN_EXPENSIVE_TESTS: ${{ matrix.run-expensive-tests && 'true' || 'false' }}
57-
- run: pytest --cov bioimageio --parallel-mode --cov-append --capture no scripts # also test docstrings in scripts for dev-version
57+
- run: pytest --cov bioimageio --cov-append --capture no scripts # also test docstrings in scripts for dev-version
5858
if: ${{matrix.is-dev-version}}
5959
env:
6060
BIOIMAGEIO_CACHE_PATH: bioimageio_cache
@@ -64,11 +64,14 @@ jobs:
6464
with:
6565
path: bioimageio_cache
6666
key: "py${{ matrix.python-version }}-${{ steps.get-date.outputs.date }}"
67+
68+
- run: cp .coverage .coverage.${{ matrix.python-version }}-${{ matrix.pydantic-version }}
6769
- uses: actions/upload-artifact@v4
6870
with:
69-
name: coverage-part-{{ matrix.python-version }}-{{ matrix.pydantic-version }}
71+
name: .coverage.${{ matrix.python-version }}-${{ matrix.pydantic-version }}
7072
retention-days: 1
71-
path: .coverage*
73+
path: .coverage.${{ matrix.python-version }}-${{ matrix.pydantic-version }}
74+
include-hidden-files: true
7275
coverage:
7376
needs: [test]
7477
if: github.event_name == 'pull_request'
@@ -80,10 +83,10 @@ jobs:
8083
pip install coverage
8184
- uses: actions/download-artifact@v4
8285
with:
83-
pattern: coverage-part-*
84-
path: coverage-parts
86+
pattern: .coverage.*
8587
- run: |
86-
coverage combine coverage-parts/.coverage*
88+
ls -l
89+
coverage combine
8790
coverage xml -o coverage.xml
8891
- uses: orgoro/[email protected]
8992
with:

0 commit comments

Comments
 (0)