@@ -9,7 +9,7 @@ executors:
9
9
enum : ["stable", "nightly"]
10
10
resource_class : large
11
11
docker :
12
- - image : mcr.microsoft.com/dotnet/core/ sdk:3.1
12
+ - image : mcr.microsoft.com/dotnet/sdk
13
13
14
14
- image : gcr.io/faunadb-cloud/faunadb/enterprise/<<parameters.version>>:latest
15
15
name : core
@@ -36,15 +36,43 @@ commands:
36
36
while ! $(curl --output /dev/null --silent --fail --max-time 1 http://core:8443/ping); do sleep 1; done
37
37
38
38
- run :
39
- name : Run Tests
39
+ name : Run Tests 3.1
40
40
command : |
41
+ wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
42
+ dpkg -i packages-microsoft-prod.deb
43
+ rm packages-microsoft-prod.deb
44
+ apt-get update; \
45
+ apt-get install -y apt-transport-https && \
46
+ apt-get update && \
47
+ apt-get install -y dotnet-sdk-3.1
41
48
dotnet --info
42
- mkdir results
49
+ mkdir TestResults
43
50
dotnet restore
44
- dotnet test --framework netcoreapp3.1 --logger "junit;LogFilePath=./results/results.xml" FaunaDB.Client.Test
45
-
51
+ dotnet test --framework netcoreapp3.1 --logger "junit;LogFilePath=./TestResults/results31.xml" FaunaDB.Client.Test
52
+
53
+ - run :
54
+ name : Run Tests 5.0
55
+ command : |
56
+ dotnet --info
57
+ dotnet restore
58
+ dotnet test --framework net5.0 --logger "junit;LogFilePath=./TestResults/results50.xml" FaunaDB.Client.Test
59
+
60
+ - run :
61
+ name : Run Tests 45
62
+ command : |
63
+ apt update
64
+ apt -y install dirmngr gnupg apt-transport-https ca-certificates
65
+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
66
+ sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
67
+ apt update
68
+ apt-get -y install mono-devel
69
+ mono --version
70
+ dotnet --info
71
+ dotnet restore
72
+ dotnet test --framework net45 --logger "trx;LogFileName=results45.xml" FaunaDB.Client.Test
73
+
46
74
- store_test_results :
47
- path : FaunaDB.Client.Test/results /
75
+ path : FaunaDB.Client.Test/TestResults /
48
76
49
77
jobs :
50
78
core-stable :
0 commit comments