File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -99,25 +99,31 @@ jobs:
99
99
- name : Start test server
100
100
run : |
101
101
pushd tests/test-server
102
- 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 &
102
+ 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" &
103
103
sleep 30
104
104
popd
105
105
106
106
# Start test server
107
107
- name : Start test server
108
108
run : |
109
109
pushd tests/test-server
110
- 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="-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" &
110
+ 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" &
111
111
sleep 30
112
112
popd
113
113
114
- # Run Tests
114
+ # Run Tests with .net 6
115
115
- name : Run Tests
116
- run : dotnet test --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
116
+ run : dotnet test --framework net6.0 --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
117
+
118
+ # Run Tests with .net 8
119
+ - name : Run Tests 8
120
+ run : dotnet test --framework net8.0 --filter FullyQualifiedName\!~Tangosol.Web --configuration Release --no-restore
117
121
118
122
# Capture server log for diagnosing failures
119
123
- name : Capture test logs
124
+ if : ${{ always() }}
120
125
uses : actions/upload-artifact@v4
121
126
with :
122
- name : build-output
123
- path : build\**\*.log
127
+ name : build-output-${{ matrix.coherence_version }}
128
+ path : |
129
+ tests/**/*.log
You can’t perform that action at this time.
0 commit comments