From 4008f68eb456c8ca49148a84dc1375c474faf573 Mon Sep 17 00:00:00 2001 From: Ben McLean Date: Sun, 24 Mar 2024 17:25:43 +1100 Subject: [PATCH] Move environment variable thing --- .github/workflows/pytest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 83974b21..d136c05c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -10,6 +10,9 @@ on: permissions: contents: read +env: + SQLALCHEMY_DATABASE_URI: "sqlite:///:memory:" + jobs: build: @@ -36,4 +39,4 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | - SQLALCHEMY_DATABASE_URI=sqlite:///:memory: pytest + pytest