Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: run emacs integration tests #45

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,26 @@ jobs:
shell: bash
run: scripts/test.sh

- name: 'Upload Artifact'
- name: 'Upload docs'
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/

emacs:
name: "Integration test - emacs"
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Run tests
run: |
scripts/demo/build-docker-image.sh

- name: 'Upload screenshots'
uses: actions/upload-artifact@v3
with:
name: screenshots
path: demo.tar
9 changes: 9 additions & 0 deletions scripts/demo/setup-demo.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@
#:swank-arglists
#:swank-repl))

(format t "~&About to load breeze.asd...~%")
(force-output)

;; install breeze's dependencies
(asdf:load-asd (truename "breeze.asd"))

(format t "~&About to quickload breeze's dependencies...~%")
(force-output)

(ql:quickload
(remove-if
(lambda (system-name)
(string= "breeze/config" system-name))
(asdf:system-depends-on (asdf:find-system "breeze"))))

(format t "~&About to dump core \"dependencies.core\"...~%")
(force-output)

(uiop:dump-image "dependencies.core")
Loading