Add ensure-directories-exist #344
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: 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: | |
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 python-pytest | |
- 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 |