File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -101,17 +101,31 @@ jobs:
101
101
- name : Start test server
102
102
run : |
103
103
pushd tests/test-server
104
- mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer &
104
+ mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer -Dexec.args="-Dcoherence.log=DefaultCacheServer.log -cp %classpath com.tangosol.net.DefaultCacheServer" &
105
+ sleep 30
106
+ popd
107
+
108
+ # Start test server
109
+ - name : Start test server
110
+ run : |
111
+ pushd tests/test-server
112
+ mvn --batch-mode -e exec:exec -s .mvn/settings.xml -Drevision=${{ matrix.coherence_version }} -Dcoherence.groupid=com.oracle.coherence.ce -Dmain=com.tangosol.net.DefaultCacheServer -Dexec.args="-Dcoherence.log=DefaultCacheServer2.log -Dtangosol.coherence.proxy.port=12345 -Dcoherence.proxy.port1=3001 -Dtangosol.coherence.proxy.port5=3002 -Dtangosol.coherence.proxy.port4=3003 -Dtangosol.coherence.proxy.port2=3004 -Dtangosol.coherence.proxy.port11=3005 -Dtangosol.coherence.proxy.port12=3006 -Dtangosol.coherence.proxy.port7=3007 -Dtangosol.coherence.proxy.port9=3008 -Dtangosol.coherence.proxy.port8=3009 -Dcoherence.management=all -cp %classpath com.tangosol.net.DefaultCacheServer" &
105
113
sleep 30
106
114
popd
107
115
108
- # Run Tests
116
+ # Run Tests with .net 6
109
117
- name : Run Tests
110
- run : dotnet test --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
118
+ run : dotnet test --framework net6.0 --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
119
+
120
+ # Run Tests with .net 8
121
+ - name : Run Tests 8
122
+ run : dotnet test --framework net8.0 --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
111
123
112
124
# Capture server log for diagnosing failures
113
125
- name : Capture test logs
126
+ if : ${{ always() }}
114
127
uses : actions/upload-artifact@v4
115
128
with :
116
- name : build-output
117
- path : build\**\*.log
129
+ name : build-output-${{ matrix.coherence_version }}
130
+ path : |
131
+ tests/**/*.log
You can’t perform that action at this time.
0 commit comments