summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml')
-rw-r--r--dom/webgpu/tests/cts/checkout/.github/workflows/pr.yml11
1 files changed, 10 insertions, 1 deletions
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