Skip to content

Use separate runners #340

Use separate runners

Use separate runners #340

Workflow file for this run

name: ci
# Controls when the action will run. Triggers the workflow on push for any branch, and
# pull requests to master
on:
push:
branches: [ master ]
pull_request:
jobs:
test:
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:

Check failure on line 17 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 17, Col: 5): Unexpected value 'matrix'
lisp:
- abcl
- ccl
- clasp
- ecl
- sbcl
runs-on: ubuntu-latest
container:
image: ghcr.io/yitzchak/archlinux-cl:latest
options: --security-opt seccomp:unconfined
steps:
- name: Install dependencies
run: |
pacman -Syu --noconfirm jupyterlab python-build python-pip
- name: Install pytest-jupyter_kernel
run: |
git clone https://github.com/yitzchak/pytest-jupyter_kernel.git
cd pytest-jupyter_kernel
pyproject-build
pip install --break-system-packages --user dist/pytest_jupyter_kernel-0.1.0-py3-none-any.whl
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Lisp Environment
run: |
make-rc
asdf-add
- name: Install kernel
run: |
lisp -i ${{ matrix.lisp }} -e "(ql:quickload :common-lisp-jupyter)" -e "(clj:install)" -q
- name: Run kernel tests
run: |
pytest --verbose