-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (40 loc) · 1.18 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
name: Clojure/Clojurescript Tests
on:
push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout metafacture-core (temporary)
uses: actions/checkout@v2
with:
path: metafacture-core
repository: metafacture/metafacture-core
ref: 5.5.1-rc1
- name: Install metafacture-core (temporary)
working-directory: metafacture-core
run: ./gradlew install
- name: Checkout metafacture-fix
uses: actions/checkout@v2
with:
path: metafacture-fix
repository: metafacture/metafacture-fix
ref: 0.5.1
- name: Install metafacture-fix
working-directory: metafacture-fix
run: ./gradlew install
- name: Set up Node.js
uses: actions/setup-node@v2
- name: Install karma and headless chrome
run: |
npm install -g karma-cli
export CHROME_BIN='/usr/bin/chromium-browser'
- uses: actions/checkout@v2
- name: Install dependencies
run: lein deps
- name: Run clojure tests
run: lein test
- name: Run clojurescript tests
run: |
lein shadow release karma-test
karma start --single-run