Skip to content

Commit

Permalink
Disable example that requires network access when --deny-net
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 31, 2024
1 parent bd6b543 commit 162fdf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deno_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 bids-validator/tests/data/bids-examples/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
Expand Down

0 comments on commit 162fdf3

Please sign in to comment.