Add widget to generate shape layer and colour by features #134
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 docs | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- docs | |
workflow_dispatch: | |
jobs: | |
build-and-upload-artifact: | |
name: ${{ matrix.platform }} py${{ matrix.python }} | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest] | |
python: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: tlambert03/setup-qt-libs@v1 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install 'setuptools<50.0' | |
python -m pip install .[all,testing,docs] | |
- name: Get data | |
working-directory: doc/examples | |
run: | | |
if [[ ! -f schizonts/schizont4_UninfRBC1_01.tif ]]; then | |
wget -q -O s.zip https://osf.io/7vyx3/download && unzip s.zip; | |
fi | |
- name: Build docs | |
uses: aganders3/headless-gui@v1 | |
with: | |
run: make -C doc html | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: docs | |
path: doc/_build/html | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
doc/examples/schizonts | |
key: full-data |