Skip to content

Commit

Permalink
ci: update tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkirchberger committed Aug 25, 2023
1 parent a4d03b0 commit e515930
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ on:
pull_request:
paths:
- .github/workflows/tests.yaml
- fastapi-health-monitor/**/*.py
- fastapi_health_monitor/**/*.py
- tests/**/*.py
- poetry.lock
push:
branches:
- main
paths:
- .github/workflows/tests.yaml
- fastapi_health_monitor/**/*.py
- tests/**/*.py
- poetry.lock

Expand Down Expand Up @@ -57,8 +65,8 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Test with pytest
run: poetry run pytest -v --cov=./ --cov-report=xml
run: poetry run pytest -v --cov=fastapi_health_monitor --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit e515930

Please sign in to comment.