Skip to content

Commit

Permalink
ci: generate the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fstamour committed Aug 13, 2023
1 parent 7c475e6 commit a12682a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ jobs:
- name: Tests
shell: bash
run: scripts/test.sh

- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/
20 changes: 12 additions & 8 deletions tests/documentation.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@
(define-test find-undocumented-symbols
(let ((undocumented-symbols (find-undocumented-symbols-in-dummy-package)))
(is
equal undocumented-symbols
'((:function breeze.dummy.test:function-undocumented)
(:generic-method breeze.dummy.test:generic-function-undocumented)
(:method breeze.dummy.test:another-generic-function)
(:method breeze.dummy.test:generic-function-undocumented)
(:package "BREEZE.DUMMY.TEST")
(:special-variable breeze.dummy.test:*bound-variable-undocumented*)
(:special-variable breeze.dummy.test:*unbound-variable-undocumented*)))))
equal undocumented-symbols
'((:function breeze.dummy.test:function-undocumented)
(:generic-method breeze.dummy.test:generic-function-undocumented)
(:method breeze.dummy.test:another-generic-function)
(:method breeze.dummy.test:generic-function-undocumented)
(:package "BREEZE.DUMMY.TEST")
(:special-variable breeze.dummy.test:*bound-variable-undocumented*)
(:special-variable breeze.dummy.test:*unbound-variable-undocumented*)))))


(define-test generate-documentation
(breeze.documentation::generate-documentation))

0 comments on commit a12682a

Please sign in to comment.