Skip to content

feat: add tests

feat: add tests #15

Workflow file for this run

name: CL Tests
on:
push:
branches: [ "main", "feature-tests" ]
pull_request:
branches: [ "main", "feature-tests" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install SBCL
run: sudo apt-get install -y sbcl
- name: Install Quicklisp
run: |
curl -O https://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp \
--eval '(quicklisp-quickstart:install)' \
--eval '(quit)'
- name: Run Tests
run: |
sbcl --noinform --load "$HOME/quicklisp/setup.lisp" \
--eval "(ql:quickload :fiveam)" \
--load "unification.lsp" \
--load "tests.lsp" \
--eval "(if (tests:run-tests) (sb-ext:exit :code 0) (sb-ext:exit :code 1))"