Skip to content

Commit

Permalink
ci: Use official coveralls action
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 6, 2024
1 parent a1080e3 commit c4d68f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,21 @@ jobs:
TEST_RABBIT_URL: amqp://127.0.0.1:${{ job.services.rabbitmq.ports[5672] }}
shell: bash
run: |
coverage run --append --source=yapw -m pytest
coverage run --append --source=yapw -m pytest --cov-report=lcov:coverage/lcov.info
pip install orjson
coverage run --append --source=yapw -m pytest
coverage run --append --source=yapw -m pytest --cov-report=lcov:coverage/lcov.info
pip uninstall -y orjson
- if: matrix.python-version == '3.10'
- if: matrix.python-version != '3.10'
name: Test
env:
TEST_RABBIT_URL: amqp://127.0.0.1:${{ job.services.rabbitmq.ports[5672] }}
shell: bash
run: |
coverage run --append --source=yapw -m pytest -W error -W ignore::ResourceWarning
coverage run --append --source=yapw -m pytest --cov-report=lcov:coverage/lcov.info -W error -W ignore::ResourceWarning
pip install orjson
coverage run --append --source=yapw -m pytest -W error -W ignore::ResourceWarning
coverage run --append --source=yapw -m pytest --cov-report=lcov:coverage/lcov.info -W error -W ignore::ResourceWarning
pip uninstall -y orjson
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github
- uses: coverallsapp/github-action@v2
services:
rabbitmq:
image: rabbitmq:latest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- uses: actions/setup-python@v5
with:
python-version: '3.10'
Expand Down

0 comments on commit c4d68f4

Please sign in to comment.