Skip to content

Commit f06f38d

Browse files
committed
test: add pytest.yml
1 parent 528e44d commit f06f38d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/pytest.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2626
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
2727
28-
- name: Create .env file for testing
28+
- name: Test with Pytest
29+
env:
30+
PYTHONPATH: ${{ github.workspace }}/backend/src
2931
run: |
3032
cat <<EOF > .env
3133
DOMAIN=localhost
@@ -52,9 +54,4 @@ jobs:
5254
POSTGRES_PASSWORD=testpassword
5355
EOF
5456
cd ../..
55-
56-
- name: Test with Pytest
57-
env:
58-
PYTHONPATH: ${{ github.workspace }}/backend/src
59-
run: |
6057
pytest --config-file=backend/pyproject.toml backend/tests

0 commit comments

Comments
 (0)