diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0d20c9..581d4a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,13 +20,19 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v19 + - uses: cachix/install-nix-action@v22 with: extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + - uses: cachix/cachix-action@v12 + with: + name: data-lens + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + extraPullNames: nix-community + # Runs a set of commands using the runners shell - name: setup deps run: | @@ -58,9 +64,13 @@ jobs: run: | export PATH="$HOME/.nix-profile/bin:$PATH" cd "$GITHUB_WORKSPACE" + ln -s "$GITHUB_WORKSPACE" "$HOME/quicklisp/local-projects" sbcl --disable-debugger --no-userinit \ --load "$HOME/quicklisp/setup.lisp" \ --eval "(mapcar 'asdf:load-asd (directory \"*.asd\"))" \ - --eval "(handler-case (asdf:test-system :data-lens) (error () (uiop:quit 42)))" \ - --eval "(handler-case (asdf:test-system :data-lens/transducers) (error () (uiop:quit 43)))" \ + --eval "(handler-case (ql:quickload :data-lens) (error (c) (format t \"~a\" c) (uiop:quit 42)))" \ + --eval "(handler-case (ql:quickload :data-lens/transducers) (error (c) (format t \"~a\" c) (uiop:quit 43)))" \ + --eval "(handler-case (ql:quickload :data-lens/test) (error (c) (format t \"~a\" c) (uiop:quit 44)))" \ + --eval "(handler-case (asdf:test-system :data-lens) (error (c) (format t \"~a\" c) (uiop:quit 45)))" \ + --eval "(handler-case (asdf:test-system :data-lens/transducers) (error (c) (format t \"~a\" c) (uiop:quit 46)))" \ --quit diff --git a/data-lens.asd b/data-lens.asd index edb81e3..3422c0b 100644 --- a/data-lens.asd +++ b/data-lens.asd @@ -32,14 +32,6 @@ :components ((:module "t" :components ((:file "lens"))))) -(asdf:defsystem #:data-lens/beta/transducers - :description #.(format nil "~@{~a~^ ~}" - "A collection of transducers to reduce stream-manipulation overhead") - :author "Edward Langley " - :license "Apache v2" - :depends-on (:data-lens/transducers) - :in-order-to ((test-op (test-op :data-lens/transducers)))) - (asdf:defsystem #:data-lens/transducers :description #.(format nil "~@{~a~^ ~}" "A collection of transducers to reduce stream-manipulation overhead") @@ -55,6 +47,14 @@ (:file "transducers") (:file "lazy-sequence"))) +(asdf:defsystem #:data-lens/beta/transducers + :description #.(format nil "~@{~a~^ ~}" + "A collection of transducers to reduce stream-manipulation overhead") + :author "Edward Langley " + :license "Apache v2" + :depends-on (:data-lens/transducers) + :in-order-to ((test-op (test-op :data-lens/transducers)))) + (asdf:defsystem #:data-lens/transducers/test :description "tests for the transducers" :author "Edward Langley "