Skip to content

update to macos-14 #192

update to macos-14

update to macos-14 #192

name: Test Documentation
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install python dependencies
run: |
pip install sphinx sphinx-rtd-theme numpydoc numpy torch
- name: Build wheels
uses: messense/maturin-action@v1
with:
manylinux: auto
command: build
args: --release --out dist -m si-units/Cargo.toml
- name: Install module
run: |
pip install si-units --no-index --find-links dist --force-reinstall
- name: Run doctests
run: sphinx-build si-units/docs/ public/ -b doctest