File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change 11version : ' 2.1'
22
33services :
4- test-contract :
4+ base :
55 build :
66 context : .
77 dockerfile : ./Dockerfile.test
88 environment :
99 - NODE_ENV=serverest-test
10+ volumes :
11+ - ./test:/app/test
12+
13+ test-contract :
14+ extends : base
15+ environment :
1016 - CONSUMER_VERSION_TAG
1117 - PACT_BROKER_TOKEN
1218 - GITHUB_BRANCH
@@ -15,27 +21,15 @@ services:
1521 - PACT_BROKER_BASE_URL
1622 - GITHUB_ACTIONS
1723 command : npm run test:contract
18- volumes :
19- - ./test:/app/test
2024
2125 test :
22- build :
23- context : .
24- dockerfile : ./Dockerfile.test
25- environment :
26- - NODE_ENV=serverest-test
26+ extends : base
2727 command : npm test
2828 volumes :
29- - ./test:/app/test
3029 - ./coverage:/app/coverage
3130
3231 test-mutation-diff :
33- build :
34- context : .
35- dockerfile : ./Dockerfile.test
32+ extends : base
3633 environment :
37- - NODE_ENV=serverest-test
3834 - STRYKER_DASHBOARD_API_KEY
3935 command : npm run test:mutation:diff
40- volumes :
41- - ./test:/app/test
You can’t perform that action at this time.
0 commit comments