diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 06fe75c3..d0177f0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,8 @@ jobs: - "3.12" - "pypy-3.8" - "pypy-3.9" - database-type: + environment: + - "typecheck" - "sqlite" - "postgres" @@ -56,4 +57,4 @@ jobs: - name: Run tests run: tox env: - DATABASE_TYPE: ${{ matrix.database-type }} + ENVIRONMENT: ${{ matrix.environment }} diff --git a/tox.ini b/tox.ini index b1ab4aed..49032db6 100644 --- a/tox.ini +++ b/tox.ini @@ -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]