File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -14,22 +14,21 @@ jobs:
1414 python-version : ["3.13"]
1515 steps :
1616 - uses : actions/checkout@v3
17+
1718 - name : Set up Python ${{ matrix.python-version }}
1819 uses : actions/setup-python@v4
1920 with :
2021 python-version : ${{ matrix.python-version }}
22+
2123 - name : Install dependencies
2224 run : |
2325 python -m pip install --upgrade pip
24- cd backend/src
25- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26- if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
26+ pip install -r backend/src/requirements.txt
27+ pip install -r backend/src/requirements-dev.txt
2728
2829 - name : Test with Pytest
29- env :
30- PYTHONPATH : ${{ github.workspace }}/backend/src
3130 run : |
32- cat <<EOF > .env
31+ cat <<EOF > backend/src/ .env
3332 DOMAIN=localhost
3433 FRONTEND_HOST=http://localhost:5173
3534 ENVIRONMENT=local
5352 POSTGRES_USER=testuser
5453 POSTGRES_PASSWORD=testpassword
5554 EOF
56- cd ../..
55+
5756 pytest --config-file=backend/pyproject.toml backend/tests
You can’t perform that action at this time.
0 commit comments