update MD package to build with minimum dependencies, update ci #26
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
# Check that package builds | |
name: Build Checks | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.12" | |
- name: Install build dependencies | |
run: >- | |
python -m pip install --user --upgrade setuptools wheel build | |
- name: Check package builds | |
run: >- | |
python -m build | |
- name: Install documentation dependencies | |
run: >- | |
python -m pip install .[docs] | |
- name: Check documentation builds | |
run: >- | |
cd docs | |
make html_all |