Remove legacy safari test (#45055)
This commit is contained in:
parent
9b39c79d2c
commit
3d56dcf45b
1 changed files with 0 additions and 47 deletions
47
.github/workflows/build_test_deploy.yml
vendored
47
.github/workflows/build_test_deploy.yml
vendored
|
@ -706,53 +706,6 @@ jobs:
|
|||
- run: docker run --rm -v $(pwd):/work mcr.microsoft.com/playwright:v1.28.1-focal /bin/bash -c "cd /work && ls && curl https://install-node.vercel.app/v16 | FORCE=1 bash && node -v && npm i -g pnpm@${PNPM_VERSION} && NEXT_TEST_JOB=1 NEXT_TEST_MODE=start BROWSER_NAME=safari node run-tests.js -c 1 test/integration/production/test/index.test.js test/e2e/basepath.test.ts && DEVICE_NAME='iPhone XR' node run-tests.js -c 1 test/production/prerender-prefetch/index.test.ts >> /proc/1/fd/1"
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
|
||||
testSafariOld:
|
||||
name: Test Safari 10.1 (nav)
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build, build-native-test]
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
BROWSERSTACK: true
|
||||
LEGACY_SAFARI: true
|
||||
BROWSER_NAME: 'safari'
|
||||
NEXT_TELEMETRY_DISABLED: 1
|
||||
SKIP_LOCAL_SELENIUM_SERVER: true
|
||||
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
|
||||
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
|
||||
steps:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
|
||||
# https://github.com/actions/virtual-environments/issues/1187
|
||||
- name: tune linux network
|
||||
run: sudo ethtool -K eth0 tx off rx off
|
||||
|
||||
- uses: actions/cache@v3
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
id: restore-build
|
||||
with:
|
||||
path: ./*
|
||||
key: ${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
with:
|
||||
name: next-swc-test-binary
|
||||
path: packages/next-swc/native
|
||||
|
||||
- run: npm i -g pnpm@${PNPM_VERSION}
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
|
||||
- run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@1.4.0'
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
|
||||
- run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || node run-tests.js test/integration/production-nav/test/index.test.js'
|
||||
if: ${{needs.build.outputs.docsChange == 'nope'}}
|
||||
|
||||
testFirefoxNode18:
|
||||
name: Test Firefox Node.js 18
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
Loading…
Reference in a new issue