diff --git a/.github/workflows/runchecks.yml b/.github/workflows/runchecks.yml index 3f33703..fae6f52 100644 --- a/.github/workflows/runchecks.yml +++ b/.github/workflows/runchecks.yml @@ -38,6 +38,14 @@ jobs: run: pytest -v --cov-report xml --cov-report html:cover --cov-report term --cov audioio tests/ shell: bash + - name: Build + run: python -m build + shell: bash + + - name: Install + run: pip install . + shell: bash + - name: Build documentation run: ./build-docs.sh shell: bash diff --git a/.github/workflows/uploaddocs.yml b/.github/workflows/uploaddocs.yml index 63476ca..fbb484f 100644 --- a/.github/workflows/uploaddocs.yml +++ b/.github/workflows/uploaddocs.yml @@ -35,6 +35,14 @@ jobs: run: pytest -v --cov-report xml --cov-report html:cover --cov-report term --cov audioio tests/ shell: bash + - name: Build + run: python -m build + shell: bash + + - name: Install + run: pip install . + shell: bash + - name: Build documentation run: ./build-docs.sh shell: bash diff --git a/build-docs.sh b/build-docs.sh index 71e2036..1e002dc 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -38,7 +38,7 @@ if command -v mkdocs >/dev/null; then mkdir docs sed -e 's|docs/||; /\[Documentation\]/d; /\[API Reference\]/d' README.md > docs/index.md mkdocs build --config-file mkdocs-tmp.yml --site-dir "$BUILDROOT" - rm mkdocs-tmp.yml + rm mkdocs-tmp.yml docs/index.md cd - > /dev/null fi