-
Notifications
You must be signed in to change notification settings - Fork 1
59 lines (46 loc) · 1.25 KB
/
push.yaml
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
57
58
59
name: Push
on:
push: {}
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: {}
jobs:
cljs-tests:
name: Run CLJS tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with: { submodules: 'recursive', fetch-depth: 0 }
- name: Install NPM
run: npm install
- name: Run Tests
run: ./test/runtests
test-examples-node:
name: Test Examples (Node)
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with: { submodules: 'recursive', fetch-depth: 0 }
- name: Install NPM
run: npm install
- name: Run Examples
run: ./test/runexamples
test-examples:
name: Test Examples (Docker)
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with: { submodules: 'recursive', fetch-depth: 0 }
- name: Build Image
run: |
docker build -t dctest .
- name: Install NPM (for schema validation)
run: npm install
- name: Run Examples
env:
DCTEST_IMAGE: dctest
run: ./test/runexamples