diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index 8346d9fdea..b08f6157b5 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -27,6 +27,7 @@ jobs: fail-fast: false matrix: python-version: ['3.9', '3.12'] + database-backend: [psql, sqlite] services: postgres: @@ -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'