diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1b3a89c..814fd9d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,7 @@ jobs: fail-fast: false matrix: include: + - os: ubuntu-latest - os: ubuntu-24.04-arm - os: windows-latest - os: macos-latest @@ -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 @@ -98,7 +78,6 @@ jobs: - pre-commit - mypy - pytest - - pytest-cov - docs runs-on: ubuntu-latest diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml new file mode 100644 index 00000000..554913f1 --- /dev/null +++ b/.github/workflows/coverage.yaml @@ -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 }}