-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Travis CI workflow with GitHub Actions workflow; update READM…
…E/version.
- Loading branch information
Showing
4 changed files
with
38 additions
and
25 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,33 @@ | ||
name: lint-test-cover-docs | ||
on: | ||
push | ||
jobs: | ||
lint_test_cover_docs: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.9'] | ||
name: "Python ${{ matrix.python-version }}" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Python. | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
- name: Lint and test module. | ||
run: | | ||
pip install -U pylint coverage nose . | ||
python -m pylint additive # Check against linting rules. | ||
python -m nose --cover-erase # Test using nose. | ||
- name: Publish coverage results. | ||
run: | | ||
pip install -U pylint coveralls | ||
python -m coveralls --service=github # Submit to coveralls. | ||
if: matrix.python-version == '3.8' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Test auto-generation of documentation. | ||
run: | | ||
pip install -U -r docs/requirements.txt | ||
cd docs && sphinx-apidoc -f -E --templatedir=_templates -o _source .. ../setup.py && make html && cd .. |
This file was deleted.
Oops, something went wrong.
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