git.fiddlerwoaroof.com
Browse code

feat: add initial bits of test running

Ed L authored on 15/11/2020 19:51:48
Showing 2 changed files
... ...
@@ -16,6 +16,14 @@
16 16
 
17 17
   Also, some use of https://github.com/fiddlerwoaroof/git-issue has been made
18 18
 
19
+  To run the tests in a clean environment, you can do (this will eventually be a Github Action):
20
+
21
+  #+BEGIN_SRC sh
22
+    docker run \
23
+      -v $PWD/docker-run:/code fiddlerwoaroof/sbcl-static:latest \
24
+      --load /code/main.lisp
25
+  #+END_SRC
26
+
19 27
 ** Installation
20 28
 
21 29
    #+BEGIN_SRC sh
22 30
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+#.(progn
2
+    (fwoar.repl-utils:clone "https://github.com/fiddlerwoaroof/fwoar.lisputils.git" "fwoar-lisputils")
3
+    (fwoar.repl-utils:github "fiddlerwoaroof" "cl-git")
4
+    (ql:quickload :cl-git)
5
+    (ql:quickload :cl-git/tests)
6
+    nil)
7
+
8
+(5am:run-all-tests)
9
+