forked from codereport/array-box
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (43 loc) · 1.08 KB
/
check-primitives.yml
File metadata and controls
52 lines (43 loc) · 1.08 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
47
48
49
50
51
52
name: Primitive Checks
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'scripts/check-missing-primitives.py'
pull_request:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'scripts/check-missing-primitives.py'
workflow_dispatch:
jobs:
check-missing-primitives:
name: Check missing primitives
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Run missing primitives checker
run: python3 scripts/check-missing-primitives.py
primitive-tests:
name: Primitive comparison tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Run primitive tests
run: npm test