128 add more information on test structure #451
Workflow file for this run
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 and deploy book | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.4 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Check book build | |
run: | | |
jb build book -W -v --keep-going | |
- name: "Deploy book to GitHub Pages" | |
if: startsWith(github.event.ref, 'refs/tags/v') | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./book/_build/html |