Skip to content

Commit

Permalink
combine coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Marques committed Jul 14, 2024
1 parent 0a5deae commit 0867747
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,16 @@ jobs:
- run: pip install -r requirements-test.txt

- name: test
run: pytest --cov=pydantic_settings_aws --cov-report=xml
run: coverage run -m pytest --durations=10
env:
COVERAGE_FILE: .coverage.${{ runner.os }}-py${{ matrix.python }}-without-dotenv
CONTEXT: ${{ runner.os }}-py${{ matrix.python }}-without-dotenv

- run: coverage combine
- run: coverage xml

- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
env_vars: PYTHON,OS

0 comments on commit 0867747

Please sign in to comment.