-
Notifications
You must be signed in to change notification settings - Fork 5
58 lines (46 loc) · 1.12 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
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Tests
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
os-version: [ubuntu-latest]
node-version: [16.x]
runs-on: ${{ matrix.os-version }}
steps:
- name: Clone Repo
uses: actions/checkout@v3.0.2
- name: Prepare java
uses: actions/setup-java@v3.3.0
with:
distribution: 'adopt'
java-version: '11'
- name: Install clojure cli
uses: DeLaGuardo/setup-clojure@master
with:
cli: 1.11.1.1113
- name: Test ${{ matrix.node-version }}
uses: actions/setup-node@v3.2.0
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install
npm run ci-tests
tests-bb:
strategy:
matrix:
os-version: [ubuntu-latest]
node-version: [16.x]
runs-on: ${{ matrix.os-version }}
steps:
- name: Checkout
uses: actions/checkout@v3.3.0
- name: Setup Babashka
uses: turtlequeue/setup-babashka@v1.5.0
with:
babashka-version: 1.0.164
- name: Tests BB Scripts
run: bb tests