GitHub Actions debugging #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Clone dependencies into local-projects | |
run: | | |
cd "${HOME}/quicklisp/local-projects" \ | |
&& git clone -b master https://github.com/robert-strandh/cluffer \ | |
&& git clone -b master https://github.com/s-expressionists/eclector | |
- 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 "incrementalist/test")' \ | |
--eval '(setf fiveam:*on-error* :backtrace)' \ | |
--eval '(asdf:test-system "incrementalist")' |