diff --git a/.github/workflows/websockets.yml b/.github/workflows/websockets.yml index 05048e2d5b..2d2212fbbe 100644 --- a/.github/workflows/websockets.yml +++ b/.github/workflows/websockets.yml @@ -39,16 +39,23 @@ jobs: - name: Run autobahn services run: docker-compose -f ${{github.workspace}}/vlib/x/websocket/tests/autobahn/docker-compose.yml up -d - - name: Build client test + + - name: Wait for the service to start + run: sleep 10s + + - name: Build client test run: docker exec autobahn_client "/src/v" "/src/vlib/x/websocket/tests/autobahn/autobahn_client.v" - name: Run client test run: docker exec autobahn_client "/src/vlib/x/websocket/tests/autobahn/autobahn_client" + - name: Build client wss test run: docker exec autobahn_client "/src/v" "/src/vlib/x/websocket/tests/autobahn/autobahn_client_wss.v" + - name: Run client wss test run: docker exec autobahn_client "/src/vlib/x/websocket/tests/autobahn/autobahn_client_wss" - name: Run server test run: docker exec autobahn_server "wstest" "-m" "fuzzingclient" "-s" "/config/fuzzingclient.json" + - name: Copy reports run: docker cp autobahn_server:/reports ${{github.workspace}}/reports - name: Copy reports wss @@ -63,21 +70,25 @@ jobs: with: name: full report path: ${{github.workspace}}/reports + - name: Publish report client uses: actions/upload-artifact@v2 with: name: client path: ${{github.workspace}}/reports/clients/index.html + - name: Publish report server uses: actions/upload-artifact@v2 with: name: server path: ${{github.workspace}}/reports/servers/index.html + - name: Publish all reports WSS uses: actions/upload-artifact@v2 with: name: full report wss path: ${{github.workspace}}/reports_wss + - name: Publish report client wss uses: actions/upload-artifact@v2 with: