ci: re-enable autobahn tests (without autofree) (#6360)

pull/6368/head
Tomas Hellström 2020-09-13 16:20:22 +02:00 committed by GitHub
parent a99986041f
commit a160038e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 34 deletions

View File

@ -480,39 +480,39 @@ jobs:
# TODO: ACTIVATE THIS AFTER MERGE # TODO: ACTIVATE THIS AFTER MERGE
# websocket_autobahn: websocket_autobahn:
# name: Autobahn integrations tests name: Autobahn integrations tests
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - name: Checkout - name: Checkout
# uses: actions/checkout@v2 uses: actions/checkout@v2
# - name: Run autobahn services - name: Run autobahn services
# run: docker-compose -f ${{github.workspace}}/vlib/x/websocket/tests/autobahn/docker-compose.yml up -d run: docker-compose -f ${{github.workspace}}/vlib/x/websocket/tests/autobahn/docker-compose.yml up -d
# - name: Build client test - name: Build client test
# run: docker exec autobahn_client "v" "/src/tests/autobahn/autobahn_client.v" run: docker exec autobahn_client "v" "/src/tests/autobahn/autobahn_client.v"
# - name: Run client test - name: Run client test
# run: docker exec autobahn_client "/src/tests/autobahn/autobahn_client" run: docker exec autobahn_client "/src/tests/autobahn/autobahn_client"
# - name: Run server test - name: Run server test
# run: docker exec autobahn_server "wstest" "-m" "fuzzingclient" "-s" "/config/fuzzingclient.json" run: docker exec autobahn_server "wstest" "-m" "fuzzingclient" "-s" "/config/fuzzingclient.json"
# - name: Copy reports - name: Copy reports
# run: docker cp autobahn_server:/reports ${{github.workspace}}/reports run: docker cp autobahn_server:/reports ${{github.workspace}}/reports
# - name: Test success - name: Test success
# run: docker exec autobahn_server "python" "/check_results.py" run: docker exec autobahn_server "python" "/check_results.py"
# - name: Publish all reports - name: Publish all reports
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: full report name: full report
# path: ${{github.workspace}}/reports path: ${{github.workspace}}/reports
# - name: Publish report client - name: Publish report client
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: client name: client
# path: ${{github.workspace}}/reports/clients/index.html path: ${{github.workspace}}/reports/clients/index.html
# - name: Publish report server - name: Publish report server
# uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
# with: with:
# name: server name: server
# path: ${{github.workspace}}/reports/servers/index.html path: ${{github.workspace}}/reports/servers/index.html

View File

@ -6,6 +6,6 @@ FROM thevlang/vlang:buster-dev
COPY ./ /src/ COPY ./ /src/
# COPY tests/autobahn/ws_test/run.sh /run.sh # COPY tests/autobahn/ws_test/run.sh /run.sh
# RUN chmod +x /run.sh # RUN chmod +x /run.sh
RUN v -autofree /src/tests/autobahn/autobahn_server.v RUN v /src/tests/autobahn/autobahn_server.v
RUN chmod +x /src/tests/autobahn/autobahn_server RUN chmod +x /src/tests/autobahn/autobahn_server
ENTRYPOINT [ "/src/tests/autobahn/autobahn_server" ] ENTRYPOINT [ "/src/tests/autobahn/autobahn_server" ]