Skip to content

Commit

Permalink
changes matrix condition to match warp runners
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwaldimri authored Jan 3, 2024
1 parent 92baef0 commit a6e1759
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ jobs:
if: '!(matrix.skip) && (matrix.wpt)'
- name: Clone submodule ./tools/node_compat/node
run: git submodule update --init --recursive --depth=1 -- ./tools/node_compat/node
if: '!(matrix.skip) && (matrix.job == ''lint'' && startsWith(matrix.os, ''ubuntu''))'
if: '!(matrix.skip) && (matrix.job == ''lint'' && startsWith(matrix.os, ''warp''))'
- name: 'Create source tarballs (release, linux)'
if: |-
!(matrix.skip) && (startsWith(matrix.os, 'ubuntu') &&
!(matrix.skip) && (startsWith(matrix.os, 'warp') &&
matrix.profile == 'release' &&
matrix.job == 'test' &&
github.repository == 'denoland/deno' &&
Expand Down Expand Up @@ -349,18 +349,18 @@ jobs:
with:
cache-path: ./target
- name: test_format.js
if: '!(matrix.skip) && (matrix.job == ''lint'' && startsWith(matrix.os, ''ubuntu''))'
if: '!(matrix.skip) && (matrix.job == ''lint'' && startsWith(matrix.os, ''warp''))'
run: deno run --unstable --allow-write --allow-read --allow-run --allow-net ./tools/format.js --check
- name: Lint PR title
if: '!(matrix.skip) && (matrix.job == ''lint'' && github.event_name == ''pull_request'' && startsWith(matrix.os, ''ubuntu''))'
if: '!(matrix.skip) && (matrix.job == ''lint'' && github.event_name == ''pull_request'' && startsWith(matrix.os, ''warp''))'
env:
PR_TITLE: '${{ github.event.pull_request.title }}'
run: deno run ./tools/verify_pr_title.js "$PR_TITLE"
- name: lint.js
if: '!(matrix.skip) && (matrix.job == ''lint'')'
run: deno run --unstable --allow-write --allow-read --allow-run --allow-net ./tools/lint.js
- name: node_compat/setup.ts --check
if: '!(matrix.skip) && (matrix.job == ''lint'' && startsWith(matrix.os, ''ubuntu''))'
if: '!(matrix.skip) && (matrix.job == ''lint'' && startsWith(matrix.os, ''warp''))'
run: deno run --allow-write --allow-read --allow-run=git ./tools/node_compat/setup.ts --check
- name: Build debug
if: '!(matrix.skip) && (matrix.job == ''test'' && matrix.profile == ''debug'')'
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
path: target/release/deno
- name: Pre-release (linux)
if: |-
!(matrix.skip) && (startsWith(matrix.os, 'ubuntu') &&
!(matrix.skip) && (startsWith(matrix.os, 'warp') &&
matrix.job == 'test' &&
matrix.profile == 'release' &&
github.repository == 'denoland/deno')
Expand Down Expand Up @@ -457,19 +457,19 @@ jobs:
- name: Autobahn testsuite
if: |-
!(matrix.skip) && (matrix.job == 'test' && matrix.profile == 'release' &&
!startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu'))
!startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'warp'))
run: target/release/deno run -A --unstable ext/websocket/autobahn/fuzzingclient.js
- name: Test debug
if: |-
!(matrix.skip) && (matrix.job == 'test' && matrix.profile == 'debug' &&
!startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu'))
!startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'warp'))
run: cargo test --locked
env:
CARGO_PROFILE_DEV_DEBUG: 0
- name: Test debug (fast)
if: |-
!(matrix.skip) && (matrix.job == 'test' && matrix.profile == 'debug' &&
(startsWith(github.ref, 'refs/tags/') || !startsWith(matrix.os, 'ubuntu')))
(startsWith(github.ref, 'refs/tags/') || !startsWith(matrix.os, 'warp')))
run: |-
cargo test --locked --lib
cargo test --locked --test '*'
Expand Down

0 comments on commit a6e1759

Please sign in to comment.