From 89160e7cd8647fdf2ebaec45259775be89aa69c7 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Mon, 1 May 2023 18:07:32 +0530 Subject: chore(ext/websocket): readd autobahn|testsuite fuzzingclient (#18903) This reverts commit https://github.com/denoland/deno/commit/17d1c7e444542f43229a047853605ac22081abdf. The `Deno.serve` signature update in https://github.com/denoland/deno/pull/18759 broke the testee server right after this patch landed on `main`. --- .github/workflows/ci.generate.ts | 9 +++++++++ .github/workflows/ci.yml | 5 +++++ 2 files changed, 14 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index ea9f93bc1..b5fa91afb 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -642,6 +642,15 @@ const ci = { run: 'gsutil -h "Cache-Control: public, max-age=3600" cp ./target/release/*.zip gs://dl.deno.land/canary/$(git rev-parse HEAD)/', }, + { + name: "Autobahn testsuite", + if: [ + "matrix.job == 'test' && matrix.profile == 'release' &&", + "!startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu')", + ].join("\n"), + run: + "target/release/deno run -A --unstable ext/websocket/autobahn/fuzzingclient.js", + }, { name: "Test debug", if: [ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 205e5c069..9f2c788c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -399,6 +399,11 @@ jobs: env: CLOUDSDK_PYTHON: '${{env.pythonLocation}}\python.exe' run: 'gsutil -h "Cache-Control: public, max-age=3600" cp ./target/release/*.zip gs://dl.deno.land/canary/$(git rev-parse HEAD)/' + - name: Autobahn testsuite + if: |- + !(github.event_name == 'pull_request' && matrix.skip_pr) && (matrix.job == 'test' && matrix.profile == 'release' && + !startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu')) + run: target/release/deno run -A --unstable ext/websocket/autobahn/fuzzingclient.js - name: Test debug if: |- !(github.event_name == 'pull_request' && matrix.skip_pr) && (matrix.job == 'test' && matrix.profile == 'debug' && -- cgit v1.2.3