We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 218d6a1 commit 552e021Copy full SHA for 552e021
3 files changed
.github/workflows/stage-2-test.yaml
@@ -37,6 +37,8 @@ jobs:
37
name: "Unit tests"
38
runs-on: ubuntu-latest
39
timeout-minutes: 5
40
+ env:
41
+ ENV_FILE: .env.example
42
steps:
43
- name: "Checkout code"
44
uses: actions/checkout@v4
docker-compose.yml
@@ -7,7 +7,7 @@ services:
7
ports:
8
- "8000:8000"
9
env_file:
10
- - .env
+ - ${ENV_FILE:-.env}
11
depends_on:
12
- db
13
volumes:
scripts/tests/unit.sh
@@ -17,4 +17,4 @@ cd "$(git rev-parse --show-toplevel)"
17
# tests from here. If you want to run other test suites, see the predefined
18
# tasks in scripts/test.mk.
19
20
-echo "Unit tests are not yet implemented. See scripts/tests/unit.sh for more."
+docker compose run web python manage.py test
0 commit comments