Skip to content

Commit c7a96e9

Browse files
committed
Upload coverage to Coveralls.io
1 parent 61316c1 commit c7a96e9

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@ jobs:
3434
pip install pytest pytest-cov
3535
pip install ./target
3636
if [ "${{ matrix.python-version }}" = "3.14" ]; then
37-
pytest -v --cov=openminds --cov-report term pipeline/tests
37+
pytest -v --cov=openminds --cov-report term --cov-report lcov pipeline/tests
3838
else
3939
pytest -v pipeline/tests
4040
fi
41+
42+
- name: Upload coverage to Coveralls
43+
if: matrix.python-version == '3.14'
44+
uses: coverallsapp/github-action@v2
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
path-to-lcov: coverage.lcov

0 commit comments

Comments
 (0)