-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
acd71f8
commit c9e72a8
Showing
4 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ on: | |
- develop | ||
paths: | ||
- 'docs/**' | ||
- '**.py' | ||
- '.github/workflows/docs.yaml' | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
|
@@ -27,6 +28,19 @@ jobs: | |
with: | ||
docs-folder: "docs/" | ||
build-command: make html dirhtml | ||
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.11 | ||
- name: Install Python dependencies | ||
run: pip install -qr cli/requirements.txt | ||
- name: Generate coverage report | ||
run: | | ||
cd cli | ||
coverage run -m unittest discover | ||
coverage-badge -o coverage.svg | ||
cd .. | ||
sudo mv cli/coverage.svg docs/_build/dirhtml/_images/ | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Documentation | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.