Disable nightly/on-demand webdriver scripts (#1366)

Disable nightly/on-demand webdriver gh-actions. I currently can't get
them running correctly.

### Change Type

- [x] `tests` — Changes to any testing-related code only (will not
publish a new version)

### Test Plan
None

### Release Notes
None
This commit is contained in:
Orange Mug 2023-05-12 17:03:30 +01:00 committed by GitHub
parent c3d27d1180
commit 9d0793e5c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 161 additions and 163 deletions

View file

@ -1,65 +1,64 @@
name: Webdriver nightly (browserstack) # name: Webdriver nightly (browserstack)
on: # on:
workflow_dispatch: # workflow_dispatch:
schedule: # schedule:
- cron: '0 2 * * *' # run at 2 AM UTC # - cron: '0 2 * * *' # run at 2 AM UTC
jobs: # jobs:
test: # test:
name: 'nightly' # name: 'nightly'
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: [ubuntu-latest-16-cores-open] # os: [ubuntu-latest-16-cores-open]
node-version: [16] # node-version: [16]
container: # container:
image: node:${{ matrix.node-version }} # image: node:${{ matrix.node-version }}
options: --network-alias testhost # options: --network-alias testhost
volumes: # volumes:
- /home/runner/work/_temp/e2e:/home/runner/work/_temp/e2e # - /home/runner/work/_temp/e2e:/home/runner/work/_temp/e2e
steps: # steps:
# start browserstack # # start browserstack
- name: 'BrowserStack Env Setup' # Invokes the setup-env action # - name: 'BrowserStack Env Setup' # Invokes the setup-env action
uses: browserstack/github-actions/setup-env@master # uses: browserstack/github-actions/setup-env@master
with: # with:
username: jamieblair_YXsTBS # username: jamieblair_YXsTBS
access-key: BUcyZn9PF4iwKgayXinm # access-key: BUcyZn9PF4iwKgayXinm
- name: 'BrowserStack Local Tunnel Setup' # Invokes the setup-local action # - name: 'BrowserStack Local Tunnel Setup' # Invokes the setup-local action
uses: browserstack/github-actions/setup-local@master # uses: browserstack/github-actions/setup-local@master
with: # with:
local-testing: start # local-testing: start
local-identifier: random # local-identifier: random
- name: Check out code # - name: Check out code
uses: actions/checkout@v3 # uses: actions/checkout@v3
with: # with:
fetch-depth: 0 # fetch-depth: 0
submodules: true # submodules: true
- name: Setup Node.js environment # - name: Setup Node.js environment
uses: actions/setup-node@v3 # uses: actions/setup-node@v3
with: # with:
node-version: 18 # node-version: 18
cache: 'yarn' # cache: 'yarn'
cache-dependency-path: 'public-yarn.lock' # cache-dependency-path: 'public-yarn.lock'
- name: Enable corepack # - name: Enable corepack
run: corepack enable # run: corepack enable
- name: Install dependencies # - name: Install dependencies
run: yarn # run: yarn
- name: Run server # - run: yarn e2e test:ci nightly
run: yarn dev-webdriver & # env:
# CI: true
- run: yarn e2e test:ci nightly # DOWNLOADS_DIR: '/home/runner/work/_temp/e2e/'
env: # TEST_URL: 'https://testhost:5421'
CI: true # WB_BUILD_NAME: 'nightly'
DOWNLOADS_DIR: '/home/runner/work/_temp/e2e/' # BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }}
TEST_URL: 'https://testhost:5421' # BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }}
WB_BUILD_NAME: 'nightly'

View file

@ -1,118 +1,117 @@
name: Webdriver on demand (browserstack) # name: Webdriver on demand (browserstack)
on: # on:
workflow_dispatch: # workflow_dispatch:
inputs: # inputs:
WD_BROWSER_CHROME: # WD_BROWSER_CHROME:
description: 'Chrome' # description: 'Chrome'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_BROWSER_FIREFOX: # WD_BROWSER_FIREFOX:
description: 'Firefox' # description: 'Firefox'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_BROWSER_EDGE: # WD_BROWSER_EDGE:
description: 'Edge' # description: 'Edge'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_BROWSER_SAFARI: # WD_BROWSER_SAFARI:
description: 'Safari' # description: 'Safari'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_BROWSER_SAMSUNG: # WD_BROWSER_SAMSUNG:
description: 'Samsung' # description: 'Samsung'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_OS_WINDOWS: # WD_OS_WINDOWS:
description: 'Windows' # description: 'Windows'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_OS_MACOS: # WD_OS_MACOS:
description: 'MacOS' # description: 'MacOS'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_OS_ANDROID: # WD_OS_ANDROID:
description: 'Android' # description: 'Android'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
WD_OS_IOS: # WD_OS_IOS:
description: 'iOS' # description: 'iOS'
required: false # required: false
default: true # default: true
type: boolean # type: boolean
jobs: # jobs:
test: # test:
name: 'on-demand' # name: 'on-demand'
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: [ubuntu-latest-16-cores-open] # os: [ubuntu-latest-16-cores-open]
node-version: [16] # node-version: [16]
container: # container:
image: node:${{ matrix.node-version }} # image: node:${{ matrix.node-version }}
options: --network-alias testhost # options: --network-alias testhost
volumes: # volumes:
- /home/runner/work/_temp/e2e:/home/runner/work/_temp/e2e # - /home/runner/work/_temp/e2e:/home/runner/work/_temp/e2e
steps: # steps:
# start browserstack # # start browserstack
- name: 'BrowserStack Env Setup' # Invokes the setup-env action # - name: 'BrowserStack Env Setup' # Invokes the setup-env action
uses: browserstack/github-actions/setup-env@master # uses: browserstack/github-actions/setup-env@master
with: # with:
username: jamieblair_YXsTBS # username: jamieblair_YXsTBS
access-key: BUcyZn9PF4iwKgayXinm # access-key: BUcyZn9PF4iwKgayXinm
- name: 'BrowserStack Local Tunnel Setup' # Invokes the setup-local action # - name: 'BrowserStack Local Tunnel Setup' # Invokes the setup-local action
uses: browserstack/github-actions/setup-local@master # uses: browserstack/github-actions/setup-local@master
with: # with:
local-testing: start # local-testing: start
local-identifier: random # local-identifier: random
- name: Check out code # - name: Check out code
uses: actions/checkout@v3 # uses: actions/checkout@v3
with: # with:
fetch-depth: 0 # fetch-depth: 0
submodules: true # submodules: true
- name: Setup Node.js environment # - name: Setup Node.js environment
uses: actions/setup-node@v3 # uses: actions/setup-node@v3
with: # with:
node-version: 18 # node-version: 18
cache: 'yarn' # cache: 'yarn'
cache-dependency-path: 'public-yarn.lock' # cache-dependency-path: 'public-yarn.lock'
- name: Enable corepack # - name: Enable corepack
run: corepack enable # run: corepack enable
- name: Install dependencies # - name: Install dependencies
run: yarn # run: yarn
- name: Run server # - run: yarn e2e test:ci nightly
run: yarn dev-webdriver & # env:
# CI: true
- run: yarn e2e test:ci nightly # DOWNLOADS_DIR: '/home/runner/work/_temp/e2e/'
env: # TEST_URL: 'https://testhost:5421'
CI: true # WD_BROWSER_CHROME: ${{ inputs.WD_BROWSER_CHROME }}
DOWNLOADS_DIR: '/home/runner/work/_temp/e2e/' # WD_BROWSER_FIREFOX: ${{ inputs.WD_BROWSER_FIREFOX }}
TEST_URL: 'https://testhost:5421' # WD_BROWSER_EDGE: ${{ inputs.WD_BROWSER_EDGE }}
WD_BROWSER_CHROME: ${{ inputs.WD_BROWSER_CHROME }} # WD_BROWSER_SAFARI: ${{ inputs.WD_BROWSER_SAFARI }}
WD_BROWSER_FIREFOX: ${{ inputs.WD_BROWSER_FIREFOX }} # WD_BROWSER_SAMSUNG: ${{ inputs.WD_BROWSER_SAMSUNG }}
WD_BROWSER_EDGE: ${{ inputs.WD_BROWSER_EDGE }} # WD_OS_WINDOWS: ${{ inputs.WD_OS_WINDOWS }}
WD_BROWSER_SAFARI: ${{ inputs.WD_BROWSER_SAFARI }} # WD_OS_MACOS: ${{ inputs.WD_OS_MACOS }}
WD_BROWSER_SAMSUNG: ${{ inputs.WD_BROWSER_SAMSUNG }} # WD_OS_ANDROID: ${{ inputs.WD_OS_ANDROID }}
WD_OS_WINDOWS: ${{ inputs.WD_OS_WINDOWS }} # WD_OS_IOS: ${{ inputs.WD_OS_IOS }}
WD_OS_MACOS: ${{ inputs.WD_OS_MACOS }} # WB_BUILD_NAME: 'ondemand'
WD_OS_ANDROID: ${{ inputs.WD_OS_ANDROID }} # BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }}
WD_OS_IOS: ${{ inputs.WD_OS_IOS }} # BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }}
WB_BUILD_NAME: 'ondemand'