Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): add coverage and docs jobs
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Docs | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
PY_COLORS: 1 | ||
|
||
jobs: | ||
sphinx: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
run: pip install tox | ||
- name: Build docs | ||
env: | ||
TOXENV: docs | ||
run: tox | ||
|
||
twine-check: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
run: pip install tox twine wheel | ||
- name: Check twine readme rendering | ||
env: | ||
TOXENV: twine-check | ||
run: | | ||
python3 setup.py sdist bdist_wheel | ||
tox |
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