From 196d0f2990b6e19939191ff3b4aa160a159c7a1f Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 31 Oct 2024 15:42:56 -0400 Subject: [PATCH] Disable example that requires network access when --deny-net --- .github/workflows/deno_tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deno_tests.yml b/.github/workflows/deno_tests.yml index 8661556f..1fdb3297 100644 --- a/.github/workflows/deno_tests.yml +++ b/.github/workflows/deno_tests.yml @@ -59,6 +59,9 @@ jobs: - name: Set permissions without network access run: echo 'PERMS=--allow-read --allow-write --allow-env --allow-run --deny-net' >> $GITHUB_ENV if: ${{ ! matrix.allow-net }} + - name: Disable example that requires network access + run: touch xeeg_hed_score/.SKIP_VALIDATION + if: ${{ ! matrix.allow-net }} - run: deno test --node-modules-dir=auto $PERMS --coverage=cov/ src/ - name: Collect coverage run: deno coverage cov/ --lcov --output=coverage.lcov