Skip to content

Commit

Permalink
add sqlite to coverage report workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbull committed Dec 10, 2024
1 parent fbb7ee3 commit 57beea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.9', '3.12']
database-backend: [psql, sqlite]

services:
postgres:
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
AIIDA_WARN_v3: 1
# Python 3.12 has a performance regression when running with code coverage
# so run code coverage only for python 3.9.
run: uv run pytest -n auto --db-backend psql -m 'not nightly' tests/ ${{ matrix.python-version == '3.9' && '--cov aiida' || '' }}
run: uv run pytest -n auto --db-backend ${{ matrix.database-backend }} -m 'not nightly' tests/ ${{ matrix.python-version == '3.9' && '--cov aiida' || '' }}

- name: Upload coverage report
if: matrix.python-version == 3.9 && github.repository == 'aiidateam/aiida-core'
Expand Down

0 comments on commit 57beea7

Please sign in to comment.