create documentation via a jupyter-book (#6) #27
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: 'test' | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
environment: [default] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: v0.27.1 | |
environments: ${{ matrix.environment }} | |
- name: Run tests | |
run: | | |
pixi run generate-predictions | |
pixi run check-generated-predictions | |
pixi run build-calibration-curve | |
pixi run different-calibration-curves | |
- name: Test if we can build the documentation | |
if: matrix.os == 'ubuntu-latest' | |
run: pixi run -e doc build-book |