-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (31 loc) · 1.54 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
name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Prepare runner
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get -qq update \
&& DEBIAN_FRONTEND=noninteractive sudo apt-get -qq --assume-yes install \
sbcl
- uses: actions/checkout@v1
- name: Install quicklisp
run: |
wget https://beta.quicklisp.org/quicklisp.lisp
sbcl --noinform --disable-debugger \
--load quicklisp.lisp \
--eval '(quicklisp-quickstart:install)' \
--quit
- name: Fetch dependencies
run: |
mkdir -p "${HOME}/quicklisp/local-projects"
cd "${HOME}/quicklisp/local-projects"
git clone https://github.com/s-expressionists/quaviver
- name: Run tests
run: |
sbcl --noinform --disable-debugger \
--load "${HOME}/quicklisp/setup.lisp" \
--eval '(asdf:initialize-source-registry (quote (:source-registry (:directory "'"$(pwd)"'") :ignore-inherited-configuration)))' \
--eval '(ql:quickload (list "eclector/test" "eclector-concrete-syntax-tree/test" "eclector.syntax-extensions/test"))' \
--eval '(mapc (function asdf:test-system) (list "eclector" "eclector-concrete-syntax-tree" "eclector.syntax-extensions"))'