Skip to content

Commit

Permalink
fix: env variable instead of .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekzyla committed Jul 28, 2023
1 parent b02620c commit d042f5f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit d042f5f

Please sign in to comment.