Skip to content

Commit

Permalink
ci: Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Sep 28, 2024
1 parent 3871578 commit ac8df2a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os:
- ubuntu-latest
#- macos-latest
#- windows-latest
lisp:
- sbcl
- ccl-bin
Expand All @@ -33,4 +36,4 @@ jobs:

- name: Run tests
run: |
echo ${LISP}
sbcl --script ./test/test.lisp
8 changes: 8 additions & 0 deletions test/test.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(load "./src/package.lisp")
(load "./src/main.lisp")

(let ((score (flx:score "buffer-file-name" "bfn")))
(print score)
(unless (equal score '(237 0 7 12))
(print "Error testing `buffer-file-name`")
(quit :unix-status 1)))

0 comments on commit ac8df2a

Please sign in to comment.