From e9e2a586ce41fd6240fd58ae0e3b2bbed751ddc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Hellstr=C3=B6m?= Date: Sat, 22 Aug 2020 06:51:08 +0200 Subject: [PATCH] x.websocket: autobahn test (#6190) --- .github/workflows/ci.yml | 66 ++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 353f1031a7..7e9b64bae3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -480,39 +480,39 @@ jobs: # TODO: ACTIVATE THIS AFTER MERGE - # websocket_autobahn: - # name: Autobahn integrations tests - # runs-on: ubuntu-latest - # steps: - # - name: Checkout - # uses: actions/checkout@v2 + websocket_autobahn: + name: Autobahn integrations tests + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 - # - name: Run autobahn services - # run: docker-compose -f ${{github.workspace}}/vlib/x/websocket/tests/autobahn/docker-compose.yml up -d - # - name: Build client test - # run: docker exec autobahn_client "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: 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: Test success - # run: docker exec autobahn_server "python" "/check_results.py" + - name: Run autobahn services + run: docker-compose -f ${{github.workspace}}/vlib/x/websocket/tests/autobahn/docker-compose.yml up -d + - name: Build client test + run: docker exec autobahn_client "v" "/src/tests/autobahn/autobahn_client.v" + - name: Run client test + run: docker exec autobahn_client "/src/tests/autobahn/autobahn_client" + - 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: Test success + run: docker exec autobahn_server "python" "/check_results.py" - # - name: Publish all reports - # uses: actions/upload-artifact@v2 - # 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 + uses: actions/upload-artifact@v2 + 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 \ No newline at end of file