Skip to content

Commit a083c43

Browse files
authored
ci: simplify GitHub Action 'coveralls.yaml' (#61)
We don't need to make an explicit call to `coveralls` since we already use the GitHub Action 'coverallsapp/github-action'.
1 parent 4a4768d commit a083c43

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/coveralls.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ jobs:
2727
run: |
2828
pdm install
2929
- name: generate coverage report
30-
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3230
run: |
3331
pdm run coverage run --source=feeph.i2c -m pytest tests/
34-
pdm run coveralls
32+
# coveralls recognizes the presence of .coverage but claims there
33+
# is nothing to report; creating a report in lcov format fixes that
3534
mkdir -p coverage
3635
pdm run coverage-lcov --output_file_path=coverage/lcov.info
3736
- name: coveralls action

0 commit comments

Comments
 (0)