Skip to content

Commit 42e8be7

Browse files
committed
fix coveralls parallel build
1 parent ea8641f commit 42e8be7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/tests.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
python-version: ["3.9", "3.10", "3.11", "3.12"]
42+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4343
steps:
4444
- uses: actions/checkout@v4
4545
- uses: actions/setup-python@v5
@@ -49,8 +49,22 @@ jobs:
4949
cache-dependency-path: "pyproject.toml"
5050
- run: sudo apt-get install -y libbz2-dev # required to build fitsio
5151
- run: pip install -c .github/test-constraints.txt '.[test]'
52-
- run: pytest --cov=heracles --cov-report=lcov
52+
- run: pytest --cov=heracles --cov-report=xml
5353
- uses: coverallsapp/github-action@v2
54+
with:
55+
parallel: true
56+
flag-name: run-${{ matrix.python-version }}
57+
58+
finish:
59+
name: Finish
60+
runs-on: ubuntu-latest
61+
needs: test
62+
if: always()
63+
steps:
64+
- uses: coverallsapp/github-action@v2
65+
with:
66+
parallel-finished: true
67+
carryforward: "run-3.9,run-3.10,run-3.11,run-3.12,run-3.13"
5468

5569
build:
5670
name: Build

0 commit comments

Comments
 (0)