From 54a20c511ba2e13c094519c98a5015ca08b8c332 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Wed, 3 Jul 2024 03:10:51 -0700 Subject: [PATCH] Simplify GH action names --- .github/workflows/ci.yml | 10 +++++----- package.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 439d383f..fc937f3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,7 @@ jobs: ./node_modules/.bin/nyc report --reporter=cobertura exit $EXIT_CODE - test-unit-parallel: + test-unit: timeout-minutes: 20 strategy: matrix: @@ -150,7 +150,7 @@ jobs: - name: Unit tests run: yarn test-unit --forbid-only - test-playwright-parallel: + test-integration: timeout-minutes: 20 strategy: matrix: @@ -191,11 +191,11 @@ jobs: - name: Build demo run: yarn build-demo - name: Integration tests (core) # Tests use 50% workers to reduce flakiness - run: yarn test-playwright-${{ matrix.browser }} --workers=50% --forbid-only --suite=core + run: yarn test-integration-${{ matrix.browser }} --workers=50% --forbid-only --suite=core - name: Integration tests (addon-canvas) - run: yarn test-playwright-${{ matrix.browser }} --workers=50% --forbid-only --suite=addon-canvas + run: yarn test-integration-${{ matrix.browser }} --workers=50% --forbid-only --suite=addon-canvas - name: Integration tests (addon-webgl) - run: yarn test-playwright-${{ matrix.browser }} --workers=50% --forbid-only --suite=addon-webgl + run: yarn test-integration-${{ matrix.browser }} --workers=50% --forbid-only --suite=addon-webgl release-dry-run: needs: build diff --git a/package.json b/package.json index c1320d60..859198fc 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "lint-api": "eslint --no-eslintrc -c .eslintrc.json.typings --max-warnings 0 --no-ignore --ext .d.ts typings/", "test": "npm run test-unit", "posttest": "npm run lint", - "test-playwright": "node ./bin/test_playwright.js --workers=75%", - "test-playwright-chromium": "node ./bin/test_playwright.js --workers=75% \"--project=ChromeStable\"", - "test-playwright-firefox": "node ./bin/test_playwright.js --workers=75% \"--project=FirefoxStable\"", - "test-playwright-webkit": "node ./bin/test_playwright.js --workers=75% \"--project=WebKit\"", - "test-playwright-debug": "node ./bin/test_playwright.js --workers=1 --headed --timeout=30000", + "test-integration": "node ./bin/test_playwright.js --workers=75%", + "test-integration-chromium": "node ./bin/test_playwright.js --workers=75% \"--project=ChromeStable\"", + "test-integration-firefox": "node ./bin/test_playwright.js --workers=75% \"--project=FirefoxStable\"", + "test-integration-webkit": "node ./bin/test_playwright.js --workers=75% \"--project=WebKit\"", + "test-integration-debug": "node ./bin/test_playwright.js --workers=1 --headed --timeout=30000", "test-unit": "node ./bin/test.js", "test-unit-coverage": "node ./bin/test.js --coverage", "test-unit-dev": "cross-env NODE_PATH='./out' mocha",