diff options
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/.github')
3 files changed, 16 insertions, 1 deletions
diff --git a/dom/webgpu/tests/cts/checkout/.github/pull_request_template.md b/dom/webgpu/tests/cts/checkout/.github/pull_request_template.md index 7fadba0fc3..0ee7f37372 100644 --- a/dom/webgpu/tests/cts/checkout/.github/pull_request_template.md +++ b/dom/webgpu/tests/cts/checkout/.github/pull_request_template.md @@ -10,6 +10,7 @@ Issue: #<!-- Fill in the issue number here. See docs/intro/life_of.md --> - [ ] All missing test coverage is tracked with "TODO" or `.unimplemented()`. - [ ] New helpers are `/** documented */` and new helper files are found in `helper_index.txt`. - [ ] Test behaves as expected in a WebGPU implementation. (If not passing, explain above.) +- [ ] Test have be tested with compatibility mode validation enabled and behave as expected. (If not passing, explain above.) **Requirements for [reviewer sign-off](https://github.com/gpuweb/cts/blob/main/docs/reviews.md):** diff --git a/dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml b/dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml index a398bf13ac..53144304bb 100644 --- a/dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml +++ b/dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml @@ -4,22 +4,31 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v3 with: persist-credentials: false - uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version: '16.x' - run: npm ci + - name: validating cache + run: npx grunt run:validate-cache - run: npm test - name: copy out-wpt to wpt tree run: | git clone --depth 2 https://github.com/web-platform-tests/wpt.git rsync -av out-wpt/ wpt/webgpu + - name: adding wpt lint ignore rule for *.bin + run: 'echo "TRAILING WHITESPACE, INDENT TABS, CR AT EOL: *.bin" >> wpt/lint.ignore' - name: test wpt lint run: ./wpt lint working-directory: ./wpt diff --git a/dom/webgpu/tests/cts/checkout/.github/workflows/push.yml b/dom/webgpu/tests/cts/checkout/.github/workflows/push.yml index 6aa7a34e04..f1645e120a 100644 --- a/dom/webgpu/tests/cts/checkout/.github/workflows/push.yml +++ b/dom/webgpu/tests/cts/checkout/.github/workflows/push.yml @@ -4,9 +4,14 @@ on: push: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v2.3.1 with: |