Skip to content

Commit

Permalink
Merge pull request #3 from francoisfreitag/type-tests
Browse files Browse the repository at this point in the history
Split typecheck into its own environment
  • Loading branch information
last-partizan authored Dec 11, 2023
2 parents ecdd143 + 80e0861 commit 9b9deb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- "3.12"
- "pypy-3.8"
- "pypy-3.9"
database-type:
environment:
- "typecheck"
- "sqlite"
- "postgres"

Expand Down Expand Up @@ -56,4 +57,4 @@ jobs:
- name: Run tests
run: tox
env:
DATABASE_TYPE: ${{ matrix.database-type }}
ENVIRONMENT: ${{ matrix.environment }}
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ python =
pypy-3.9: pypy39

[gh-actions:env]
DATABASE_TYPE =
sqlite: sqlite,typecheck
ENVIRONMENT =
typecheck: typecheck
sqlite: sqlite
postgres: postgres

[testenv]
Expand Down

0 comments on commit 9b9deb9

Please sign in to comment.