From e26ab0df1c8496cf591a9f5a1e8140b9f1cbf798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Mon, 4 Dec 2023 18:40:43 +0100 Subject: [PATCH] Split typecheck into its own environment --- .github/workflows/test.yml | 5 +++-- tox.ini | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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]