Skip to content

Commit

Permalink
[actions] added build and installation test
Browse files Browse the repository at this point in the history
  • Loading branch information
janscience committed Apr 24, 2024
1 parent ec396e3 commit 71b09dd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/runchecks.yml
Expand Up @@ -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
8 changes: 8 additions & 0 deletions .github/workflows/uploaddocs.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build-docs.sh
Expand Up @@ -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

Expand Down

0 comments on commit 71b09dd

Please sign in to comment.