Add expect-true macro for symmetry with expect-false #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build testworks documentation | |
on: | |
push: | |
# all branches | |
paths: | |
- 'documentation/**' | |
pull_request: | |
# all branches | |
paths: | |
- 'documentation/**' | |
# This enables the Run Workflow button on the Actions tab. | |
workflow_dispatch: | |
# https://github.com/JamesIves/github-pages-deploy-action#readme | |
permissions: | |
contents: write | |
# Set DYLAN environment variable to GITHUB_WORKSPACE so packages are | |
# installed in ../../_packages relative to documentation's Makefile | |
env: | |
DYLAN: ${{ github.workspace }} | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Until dylan-lang/install-dylan-tool | |
# updates the version | |
- name: Install Open Dylan | |
uses: dylan-lang/install-opendylan@v3 | |
with: | |
version: 2023.1 | |
tag: v2023.1.0 | |
- name: Install sphinx-extensions dependencies | |
run: | | |
dylan update | |
- name: Build docs | |
uses: ammaraskar/sphinx-action@master | |
with: | |
pre-build-command: "echo furo >> documentation/requirements.txt" | |
docs-folder: "documentation/" | |
- name: Deploy documents to GH pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: documentation/build/html |