forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.25 KB
/
Copy pathtest-launch.yml
File metadata and controls
44 lines (37 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: E2E Launch Tests
on:
workflow_call:
# Make this a reusable workflow, no value needed
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
jobs:
launch_check:
name: E2E Launch Test (${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-15']
runs-on: ${{ matrix.os }}
steps:
- name: ⬇️ Checkout Code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- 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: E2E Launch Tests
run: pnpm run test:e2e:webdriver
shell: bash
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: failure()
with:
name: e2e-launch-tests-logs
path: e2e/wdio/*.log
- name: Check Git Context
if: matrix.os != 'windows-latest'
uses: ./.github/workflows/actions/check-git-context