Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Sep 26, 2024
1 parent 9d76e07 commit f9d2bf5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/.github/workflows/"
schedule:
interval: "weekly"
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: test

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:

jobs:
test:
name: ${{ matrix.lisp }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
lisp:
- abcl
- ccl
- clisp
- cmucl
- clasp
- ecl
- mkcl
- sbcl
runs-on: ubuntu-latest
container:
image: ghcr.io/yitzchak/archlinux-cl:latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Lisp Environment
run: |
make-rc
asdf-add
- name: Run Tests
run: |
lisp -i ${{ matrix.lisp }} -e "(ql:quickload :trivial-package-locks/test)" -e "(defparameter cl-user::*exit-on-test-failures* t)" -e "(asdf:test-system :trivial-package-locks)"

0 comments on commit f9d2bf5

Please sign in to comment.