Skip to content
Merged
Show file tree
Hide file tree
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
23 changes: 1 addition & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04-arm
- os: windows-latest
- os: macos-latest
Expand All @@ -57,27 +58,6 @@ jobs:
- uses: ./.github/actions/setup_rye
- run: rye test -a

pytest-cov:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5

- name: Setup rye
uses: ./.github/actions/setup_rye

- name: Run tests
run: rye test -a -- --cov --cov-branch --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

docs:
name: Documentation build
runs-on: ubuntu-latest
Expand All @@ -98,7 +78,6 @@ jobs:
- pre-commit
- mypy
- pytest
- pytest-cov
- docs

runs-on: ubuntu-latest
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run tests and upload coverage

on: push

jobs:
pytest-cov:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5

- name: Setup rye
uses: ./.github/actions/setup_rye

- name: Run tests
run: rye test -a -- --cov --cov-branch --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}