18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- framework : [netcoreapp3.1 , net5.0, net48 ]
21
+ framework : [net48 , net5.0, net6.0, net7.0 ]
22
22
os : [ubuntu-latest]
23
23
test : [""]
24
24
configuration : [release]
@@ -39,15 +39,13 @@ jobs:
39
39
- name : Pull EventStore Image
40
40
run : |
41
41
docker pull ghcr.io/eventstore/eventstore:${{ matrix.docker-tag }}
42
- - name : Install netcoreapp3.1
43
- uses : actions/setup-dotnet@v1
44
- if : matrix.framework == 'netcoreapp3.1'
42
+ - name : Install dotnet
43
+ uses : actions/setup-dotnet@v3
45
44
with :
46
- dotnet-version : 3.1.x
47
- - name : Install net5.0
48
- uses : actions/setup-dotnet@v1
49
- with :
50
- dotnet-version : 5.0.x
45
+ dotnet-version : |
46
+ 5.0.x
47
+ 6.0.x
48
+ 7.0.x
51
49
- name : Restore
52
50
run : |
53
51
dotnet restore
64
62
run : |
65
63
./gencert.sh
66
64
dotnet test --configuration ${{ matrix.configuration }} --blame \
67
- --logger:html --logger:"GitHubActions;report-warnings=false" --logger:"console;verbosity=normal" \
68
- --results-directory=$(pwd)/test-results/test/EventStore.ClientAPI${{ matrix.test }}.Tests \
65
+ --logger:"GitHubActions;report-warnings=false" --logger:"console;verbosity=normal" \
69
66
--framework ${{ matrix.framework }} \
70
67
test/EventStore.ClientAPI${{ matrix.test }}.Tests
71
- - name : Collect Test Results
72
- if : always()
73
- run : |
74
- echo $(find ./test-results -name "*.html" | xargs cat) > test-results.html
75
- - name : Publish Test Results (HTML)
76
- uses : actions/upload-artifact@v1
77
- if : always()
78
- with :
79
- path : test-results.html
80
- name : test-results-${{ matrix.configuration }}-${{ matrix.os }}-${{ matrix.framework }}-EventStore.ClientAPI${{ matrix.test }}.html
81
68
publish :
82
69
timeout-minutes : 5
83
70
needs : [build-dotnet]
@@ -96,14 +83,13 @@ jobs:
96
83
dotnet tool restore
97
84
version=$(dotnet tool run minver -- --tag-prefix=v)
98
85
echo "version=${version}" >> $GITHUB_OUTPUT
99
- - name : Install netcoreapp3.1
100
- uses : actions/setup-dotnet@v1
101
- with :
102
- dotnet-version : 3.1.x
103
- - name : Install net5.0
104
- uses : actions/setup-dotnet@v1
86
+ - name : Install dotnet
87
+ uses : actions/setup-dotnet@v3
105
88
with :
106
- dotnet-version : 5.0.x
89
+ dotnet-version : |
90
+ 5.0.x
91
+ 6.0.x
92
+ 7.0.x
107
93
- name : Dotnet Pack
108
94
run : |
109
95
dotnet pack /p:Version=${{ steps.get_version.outputs.version }} --configuration=Release --output=./packages \
0 commit comments