Skip to content

Commit 1d5c502

Browse files
authored
Merge pull request #6 from GavinHuttley/main
DEV: hookup coveralls
2 parents 60d03d4 + 1fc62d9 commit 1d5c502

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/testing_develop.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ jobs:
3535
cov="--cov-report lcov:lcov-${{matrix.os}}-${{matrix.python-version}}.lcov --cov-report term --cov-append --cov citeable"
3636
uv run nox -s "test-${{ matrix.python-version }}" -- $cov
3737
38+
- name: Coveralls Parallel
39+
uses: coverallsapp/github-action@v2
40+
with:
41+
parallel: true
42+
github-token: ${{ secrets.github_token }}
43+
flag-name: run-${{matrix.python-version}}-${{matrix.os}}
44+
file: "tests/lcov-${{matrix.os}}-${{matrix.python-version}}.lcov"
45+
46+
3847
type_check:
3948
name: Type Check
4049
runs-on: ubuntu-latest
@@ -52,3 +61,14 @@ jobs:
5261

5362
- name: "Run Type Checking"
5463
run: uv run mypy src/citeable --strict
64+
65+
finish:
66+
name: "Finish Coveralls"
67+
needs: tests
68+
runs-on: ubuntu-latest
69+
steps:
70+
- name: Coveralls Finished
71+
uses: coverallsapp/github-action@v2
72+
with:
73+
github-token: ${{ secrets.github_token }}
74+
parallel-finished: true

0 commit comments

Comments
 (0)