Skip to content

ci: testing: unittests: Run with coverage capture #14

ci: testing: unittests: Run with coverage capture

ci: testing: unittests: Run with coverage capture #14

Workflow file for this run

name: Pages
on:
push:
branches:
- master
pull_request:
types:
- opened
branches:
- master
jobs:
pages:
name: Build GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build docs
run: |
python3 -m pip install -U pip
python3 -m pip install -U setuptools wheel
python3 -m pip install .[dev]
python3 -m sphinx -W -b html docs built_html_docs/
echo ${{ github.ref }}
- name: Deploy to GitHub Pages
if: ${{ github.ref == 'refs/heads/master' }}
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: built_html_docs
jekyll: false
verbose: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}