Use fiveam instead of rove

This commit is contained in:
paku 2024-06-13 19:43:02 +09:00
parent 31d9e48b13
commit 989ba63bf1
8 changed files with 42 additions and 19 deletions

29
.github/workflows/test.yml vendored Normal file
View 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
View 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)

View file

@ -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)))

View file

@ -8,4 +8,4 @@
:class :package-inferred-system
:pathname "src"
: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
View file

@ -1,3 +1,3 @@
ql fiveam-asdf
ql ningle
ql cl-ppcre
ql rove

View file

@ -2,6 +2,10 @@
(:class qlot/source/dist:source-dist
:initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest)
:version "2023-10-21"))
("fiveam-asdf" .
(:class qlot/source/ql:source-ql
:initargs (:%version :latest)
:version "ql-2023-10-21"))
("ningle" .
(:class qlot/source/ql:source-ql
:initargs (:%version :latest)
@ -10,7 +14,3 @@
(:class qlot/source/ql:source-ql
:initargs (:%version :latest)
: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
View file

View file

@ -1,4 +0,0 @@
(defpackage #:ningle-fbr-tests/main
(:use #:cl
#:rove))
(in-package #:ningle-fbr-tests/main)