Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the coveralls Github action #103

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,17 @@ jobs:
- run: pip check
- run: pytest -Werror --cov=aiokatcp --cov-branch
- run: pre-commit run --all-files
- run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: coverallsapp/github-action@v2.3.3
with:
parallel: true
flag-name: ${{ matrix.os }}
if: ${{ matrix.coverage == 'yes' }}
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Finalise Coveralls
uses: coverallsapp/github-action@v2.3.3
with:
parallel-finished: true
1 change: 0 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
async-solipsism
async-timeout
coveralls
decorator
katcp-codec
pre-commit
Expand Down
18 changes: 1 addition & 17 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,20 @@ async-solipsism==0.6
# via -r requirements.in
async-timeout==4.0.3
# via -r requirements.in
certifi==2024.7.4
# via requests
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
# via requests
coverage[toml]==6.5.0
# via
# coveralls
# pytest-cov
coveralls==3.3.1
# via -r requirements.in
# via pytest-cov
decorator==5.1.1
# via -r requirements.in
distlib==0.3.8
# via virtualenv
docopt==0.6.2
# via coveralls
exceptiongroup==1.2.0
# via pytest
filelock==3.13.4
# via virtualenv
identify==2.5.35
# via pre-commit
idna==3.7
# via requests
iniconfig==2.0.0
# via pytest
katcp-codec==0.1.0
Expand Down Expand Up @@ -62,16 +50,12 @@ pytest-mock==3.14.0
# via -r requirements.in
pyyaml==6.0.1
# via pre-commit
requests==2.32.0
# via coveralls
tomli==2.0.1
# via
# coverage
# pytest
typing-extensions==4.11.0
# via -r requirements.in
urllib3==2.2.2
# via requests
virtualenv==20.25.1
# via pre-commit

Expand Down
Loading