Skip to content

Commit

Permalink
ci: try to fix codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 6, 2024
1 parent fba57c7 commit ba785a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ jobs:
- name: Install dependencies
run: python -m poetry install --all-extras
- name: Test
run: mkdir -p tmp && poetry run pytest -svv --cov=bento_lib --cov-branch
run: mkdir -p tmp && poetry run pytest -svv --cov=bento_lib --cov-branch --cov-report=xml
env:
TEST_REDIS_HOST: localhost
TEST_REDIS_PORT: 6379
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
file: ./coverage.xml
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.idea/rSettings.xml
.idea/workspace.xml
.coverage
coverage.xml
.pytest_cache
.tox/
build
Expand Down

0 comments on commit ba785a5

Please sign in to comment.