Skip to content

Commit 2664ef3

Browse files
committed
Add tests to github workflow
1 parent 84d6132 commit 2664ef3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy-docs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,18 @@ jobs:
2222
sudo apt-get update
2323
sudo apt-get install -y swi-prolog
2424
25+
- name: Run tests
26+
run: |
27+
make test
28+
2529
- name: Generate documentation
30+
if: success()
2631
run: |
2732
# swipl -g "load_files(plunit_assert), doc_save(., [format(html), doc_root(doc), title('PlUnit Assert Documentation')])" -t halt
2833
swipl -g "load_files(plunit_assert), doc_save(., [format(html), doc_root('./docs'), title('API Documentation for plunit_assert')])" -t halt
2934
3035
- name: Deploy to GitHub Pages
36+
if: success()
3137
uses: peaceiris/actions-gh-pages@v3
3238
with:
3339
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)