-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (40 loc) · 1.11 KB
/
test.yml
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
53
54
55
56
name: Testing Workflow
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Initialize
uses: ./.github/actions/initialize/
- name: Lint
run: pnpm run lint
test-unit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Initialize
uses: ./.github/actions/initialize/
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Unit testing
run: pnpm run test
test-mutation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Initialize
uses: ./.github/actions/initialize/
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Setup Stryker cache
uses: actions/cache@v3
with:
path: ./reports/stryker-incremental.json
key: ${{ runner.os }}-stryker
- name: Mutation testing
run: pnpm run test:mutation