Skip to content
Merged
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
21 changes: 17 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,24 @@ jobs:
run: uv sync --all-extras --dev

- name: Run tests
run: uv run inv pytest --junit --no-pty --base
run: uv run python -m pytest --cov --cov-config=pyproject.toml --cov-report=xml tests

- name: Run isolated tests
run: uv run inv pytest --junit --no-pty --isolated
run: uv run python -m pytest --cov --cov-config=pyproject.toml --cov-report=xml tests_isolated

- name: Upload coverage reports to Codecov with GitHub Action on Python 3.13 for each OS
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
flags: python${{ matrix.python-version }}
name: codecov-umbrella-test-results
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
if: ${{ matrix.python-version == '3.13' }}
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
Loading