summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-05-01 18:07:32 +0530
committerGitHub <noreply@github.com>2023-05-01 14:37:32 +0200
commit89160e7cd8647fdf2ebaec45259775be89aa69c7 (patch)
treea9b5df0d14ee59b6de7105d72557d4643bad41e9 /.github/workflows
parentb31cf9fde6ad5398c20370c136695db77df6beeb (diff)
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`.
Diffstat (limited to '.github/workflows')
-rwxr-xr-x.github/workflows/ci.generate.ts9
-rw-r--r--.github/workflows/ci.yml5
2 files changed, 14 insertions, 0 deletions
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
@@ -643,6 +643,15 @@ const ci = {
'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: [
"matrix.job == 'test' && matrix.profile == 'debug' &&",
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' &&