Use fiveam instead of rove
This commit is contained in:
parent
31d9e48b13
commit
989ba63bf1
8 changed files with 42 additions and 19 deletions
29
.github/workflows/test.yml
vendored
Normal file
29
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: 'test'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
lisp:
|
||||||
|
- sbcl-bin
|
||||||
|
- ccl-bin
|
||||||
|
|
||||||
|
env:
|
||||||
|
LISP: ${{ matrix.lisp }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: 40ants/setup-lisp@v4
|
||||||
|
with:
|
||||||
|
asdf-system: ningle-fbr
|
||||||
|
- uses: 40ants/run-tests@v2
|
||||||
|
with:
|
||||||
|
asdf-system: ningle-fbr
|
7
ningle-fbr-test.asd
Normal file
7
ningle-fbr-test.asd
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
(defsystem "ningle-fbr-test"
|
||||||
|
:defsystem-depends-on ("fiveam-asdf")
|
||||||
|
:class :package-inferred-fiveam-tester-system
|
||||||
|
:pathname "tests"
|
||||||
|
:depends-on ()
|
||||||
|
:test-names ()
|
||||||
|
:num-checks 0)
|
|
@ -1,9 +0,0 @@
|
||||||
(defsystem "ningle-fbr-tests"
|
|
||||||
:author "skyizwhite <paku@skyizwhite.dev>"
|
|
||||||
:license "MIT"
|
|
||||||
:class :package-inferred-system
|
|
||||||
:pathname "tests"
|
|
||||||
:depends-on ("rove"
|
|
||||||
"ningle-fbr-tests/main")
|
|
||||||
:perform (test-op (o c)
|
|
||||||
(symbol-call :rove '#:run c)))
|
|
|
@ -8,4 +8,4 @@
|
||||||
:class :package-inferred-system
|
:class :package-inferred-system
|
||||||
:pathname "src"
|
:pathname "src"
|
||||||
:depends-on ("ningle-fbr/main")
|
:depends-on ("ningle-fbr/main")
|
||||||
:in-order-to ((test-op (test-op "ningle-fbr-tests"))))
|
:in-order-to ((test-op (test-op "ningle-fbr-test"))))
|
||||||
|
|
2
qlfile
2
qlfile
|
@ -1,3 +1,3 @@
|
||||||
|
ql fiveam-asdf
|
||||||
ql ningle
|
ql ningle
|
||||||
ql cl-ppcre
|
ql cl-ppcre
|
||||||
ql rove
|
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
(:class qlot/source/dist:source-dist
|
(:class qlot/source/dist:source-dist
|
||||||
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
|
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
|
||||||
:version "2023-10-21"))
|
:version "2023-10-21"))
|
||||||
|
("fiveam-asdf" .
|
||||||
|
(:class qlot/source/ql:source-ql
|
||||||
|
:initargs (:%version :latest)
|
||||||
|
:version "ql-2023-10-21"))
|
||||||
("ningle" .
|
("ningle" .
|
||||||
(:class qlot/source/ql:source-ql
|
(:class qlot/source/ql:source-ql
|
||||||
:initargs (:%version :latest)
|
:initargs (:%version :latest)
|
||||||
|
@ -10,7 +14,3 @@
|
||||||
(:class qlot/source/ql:source-ql
|
(:class qlot/source/ql:source-ql
|
||||||
:initargs (:%version :latest)
|
:initargs (:%version :latest)
|
||||||
:version "ql-2023-10-21"))
|
:version "ql-2023-10-21"))
|
||||||
("rove" .
|
|
||||||
(:class qlot/source/ql:source-ql
|
|
||||||
:initargs (:%version :latest)
|
|
||||||
:version "ql-2023-10-21"))
|
|
||||||
|
|
0
tests/.keep
Normal file
0
tests/.keep
Normal file
|
@ -1,4 +0,0 @@
|
||||||
(defpackage #:ningle-fbr-tests/main
|
|
||||||
(:use #:cl
|
|
||||||
#:rove))
|
|
||||||
(in-package #:ningle-fbr-tests/main)
|
|
Loading…
Reference in a new issue