Skip to content

Commit

Permalink
Collect coverage only for aiida-core=2.3 runs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jul 3, 2024
1 parent 3640598 commit 093c505
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:

strategy:
matrix:
tag: [latest]
python-version: ['3.9', '3.10']
aiida-core-version: [2.3, 2.5]
fail-fast: false
Expand Down Expand Up @@ -51,9 +50,7 @@ jobs:
run: uv pip install --system -e .[dev] aiida-core==${{ matrix.aiida-core-version }}

- name: Run pytest
run: pytest -v tests --cov=aiidalab_qe
env:
TAG: ${{ matrix.tag }}
run: pytest -v tests ${{ aiida-core-version == '2.3' && --cov=aiidalab_qe || '' }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 093c505

Please sign in to comment.