From d042f5fc1e37a31858010f32dba84e2448fb2daa Mon Sep 17 00:00:00 2001 From: Wojciech Zyla Date: Fri, 28 Jul 2023 14:04:50 +0200 Subject: [PATCH] fix: env variable instead of .env file --- .github/workflows/ci-main.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-main.yaml b/.github/workflows/ci-main.yaml index f626f0b..05caf72 100644 --- a/.github/workflows/ci-main.yaml +++ b/.github/workflows/ci-main.yaml @@ -32,6 +32,8 @@ jobs: test-unit-backend: name: Test Unit Python ${{ matrix.python-version }} runs-on: ubuntu-latest + env: + VALUES_DIRECTORY: /tmp strategy: matrix: python-version: @@ -46,11 +48,6 @@ jobs: run: | cd backend pip install -r ./requirements.txt - - name: Create .env - run: | - cd backend - touch .env - echo "VALUES_DIRECTORY=/tmp" > .env - name: Run Pytest run: | cd backend