File tree 1 file changed +17
-3
lines changed
1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [ main, development ]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [ main, development ]
8
8
9
9
jobs :
10
10
test :
@@ -15,12 +15,26 @@ jobs:
15
15
- name : Set up Docker Buildx
16
16
uses : docker/setup-buildx-action@v3
17
17
18
+ - name : Copy environment file
19
+ run : cp .env.development .env
20
+
18
21
- name : Build and test
19
22
run : |
23
+ docker compose version
20
24
docker compose -f docker-compose.dev.yml build
21
25
docker compose -f docker-compose.dev.yml up -d
22
- docker compose -f docker-compose.dev.yml exec -T backend python -m pytest tests/
26
+ docker compose -f docker-compose.dev.yml exec -T reproschema python -m pytest tests/
23
27
docker compose -f docker-compose.dev.yml down
28
+ env :
29
+ NODE_ENV : development
30
+ DEV_MODE : 1
31
+ PROJECT_NAME : development
32
+ SCHEMA_URL : http://localhost:80/schema/demo-protocol.json
33
+ LOCAL_SCHEMA_DIR : ./schemas
34
+ FRONTEND_PORT : 3000
35
+ BACKEND_PORT : 8000
36
+ PORT : 80
37
+ NGINX_HOST : localhost
24
38
25
39
docker :
26
40
needs : test
You can’t perform that action at this time.
0 commit comments