MAINT: update minimum required versions and CI maintanance #131
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 site | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [ubuntu, macos, windows] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
activate-environment: numpy-tutorials | |
environment-file: environment.yml | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: true | |
python-version: "3.10" | |
auto-activate-base: false | |
- name: inspect and build | |
id: build_step | |
continue-on-error: true | |
run: | | |
conda info | |
conda list | |
make -C site/ SPHINXOPTS="-nWT --keep-going" html | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sphinx-build-artifact | |
path: site/_build/html/reports | |
- name: fail on build errors | |
if: steps.build_step.outcome != 'success' | |
run: exit 1 |