forked from OpenCodeFoundation/eSchool
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-test.override.yml
61 lines (56 loc) · 1.62 KB
/
docker-compose-test.override.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "3.5"
services:
sql.data.test:
environment:
- SA_PASSWORD=Pass@word
- ACCEPT_EULA=Y
ports:
- "5433:1433" # Important: In a production environment your should remove the external port
enrolling.api.test:
entrypoint:
- dotnet
- test
- --results-directory
- /tests
- --logger
- trx;LogFileName=/tests/enrolling-unit-test-results.xml
- --collect:"XPlat Code Coverage"
enrolling.api.functional-test:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionStrings=Server=sql.data.test;Database=OpenCodeFoundation.EnrollingDb;User Id=sa;Password=Pass@word
ports:
- "5102:80"
entrypoint:
- dotnet
- test
- --results-directory
- /tests
- --logger
- trx;LogFileName=/tests/enrolling-functional-test-results.xml
- --collect:"XPlat Code Coverage"
joining.api.test:
entrypoint:
- dotnet
- test
- --results-directory
- /tests
- --logger
- trx;LogFileName=/tests/joining-unit-test-results.xml
- --collect:"XPlat Code Coverage"
joining.api.functional-test:
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionStrings=Server=sql.data.test;Database=OpenCodeFoundation.JoiningDb;User Id=sa;Password=Pass@word
ports:
- "5103:80"
entrypoint:
- dotnet
- test
- --results-directory
- /tests
- --logger
- trx;LogFileName=/tests/joining-functional-test-results.xml
- --collect:"XPlat Code Coverage"