Skip to content

Commit 492b3d0

Browse files
committed
WIP test
1 parent 66eb75e commit 492b3d0

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
(in-package :cl-user)
2+
3+
(load "/tmp/ql-dir/quicklisp.lisp")
4+
(quicklisp-quickstart:install)
5+
6+
(load "/home/runner/work/cl-python/cl-python/clpython.asd")
7+
8+
(ql:quickload :cl-python)
9+
(ql:quickload :cl-python-test)
10+
11+
(asdf:test-system "clpython")

.github/workflows/run-tests.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: build & test
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- dev
7+
jobs:
8+
9+
install_quicklisp:
10+
name: Install QuickLisp
11+
runs-on: ubuntu-latest
12+
steps:
13+
- run: |
14+
cd /tmp
15+
mkdir ql-dir
16+
cd ql-dir
17+
wget -q https://beta.quicklisp.org/quicklisp.lisp
18+
chmod -R a+rwx /tmp/ql-dir
19+
- name: Upload Quicklisp artifact
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: ql-artifact
23+
path: /tmp/ql-dir
24+
25+
run_test_suites:
26+
name: Test on ${{ matrix.scenario }}
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
scenario: [sbcl]
31+
needs: [install_quicklisp]
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- uses: actions/download-artifact@v4
36+
with:
37+
name: ql-artifact
38+
path: /tmp/ql-dir
39+
40+
- if: matrix.scenario == 'sbcl'
41+
run: |
42+
sudo apt-get install sbcl
43+
sbcl --script /home/runner/work/cl-python/cl-python/.github/workflows/github-workflow-tests.lisp

0 commit comments

Comments
 (0)