Update PyO3 and numpy dependencies to 0.23 (#76) #190
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 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 |