diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e397539 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/.github/workflows/" + schedule: + interval: "weekly" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..d34e977 --- /dev/null +++ b/.github/workflows/test.yml @@ -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)"