-
-
Notifications
You must be signed in to change notification settings - Fork 15
46 lines (46 loc) · 1.16 KB
/
test.yml
File metadata and controls
46 lines (46 loc) · 1.16 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
45
46
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
exampleDir:
- click
- clipboard
- customMatchers
- deleteCookies
- emulate
- waitForDisplayed
- waitUntil
- keys
- queryElements
- overwriteCommand
- selectors
- selectorsAria
- getting-started
- setup
- testDownloadBehavior
- component-testing
- api/webdriver
steps:
- name: Checkout
uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 20
- name: Install
run: npm ci
env:
DETECT_CHROMEDRIVER_VERSION: true
- name: Test
run: npm run ${{ matrix.exampleDir }}
working-directory: ${{ matrix.exampleDir }}
- name: 🐛 Debug Build
uses: stateful/vscode-server-action@v1
if: failure()
- uses: actions/upload-artifact@v4
if: failure()
with:
name: logs
path: ${{ matrix.exampleDir }}/logs