46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: Testrunner Tests
|
|
|
|
on:
|
|
workflow_call:
|
|
# Make this a reusable workflow, no value needed
|
|
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
|
|
|
|
jobs:
|
|
testrunner_check:
|
|
name: Testrunner Tests (${{ matrix.os }})
|
|
permissions:
|
|
contents: read
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: ['windows-latest', 'macos-13']
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: ⬇️ Checkout Code
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- name: 🧑🔧 Get Core Dependencies
|
|
uses: ./.github/workflows/actions/get-core-dependencies
|
|
|
|
- name: Download Build Archive
|
|
uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: webdriverio
|
|
path: .
|
|
filename: webdriverio-build.zip
|
|
|
|
- name: Testrunner Tests
|
|
run: |
|
|
pnpm run test:e2e:testrunner
|
|
pnpm run test:e2e:classic
|
|
shell: bash
|
|
|
|
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
if: failure()
|
|
with:
|
|
name: e2e-testrunner-tests-logs
|
|
path: e2e/wdio/*.log
|
|
|
|
- name: Check Git Context
|
|
if: matrix.os != 'windows-latest'
|
|
uses: ./.github/workflows/actions/check-git-context
|