-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (37 loc) · 1.32 KB
/
tests.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
name: Tests
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- uses: ./.github/workflows/setup
- run: pnpm lint
e2e:
needs: [lint]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- uses: ./.github/workflows/setup
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
if: ${{ !env.ACT }}
id: relate-e2e-dbms-cache
with:
path: 'e2e/relate fixtures/cache/dbmss'
key: relate-e2e-dbms-${{ runner.os }}
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
if: ${{ !env.ACT }}
id: relate-e2e-runtime-cache
with:
path: 'e2e/relate fixtures/cache/runtime'
key: relate-e2e-runtime-${{ runner.os }}
- run: pnpm test:setup
- run: pnpm test