-
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.
* Remove travis and port to github actions Removes travis-ci and ports all workflows to github actions, so code coverage is now merged with testing. * Change workflow name to build * Update status badge on `README.md`
- Loading branch information
1 parent
c0e7aad
commit 991f90c
Showing
4 changed files
with
34 additions
and
49 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Build | ||
|
||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
name: "Test on Python ${{ matrix.python_version }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install | ||
run: | | ||
pip install pytest | ||
pip install coverage | ||
pip install codecov | ||
pip install -r requirements.txt | ||
- name: Test | ||
run: | | ||
coverage run -m pytest | ||
- name: Generate Coverage Report | ||
run: | | ||
python -m coverage report | ||
python -m coverage xml | ||
- name: Upload to codecov | ||
run: | | ||
codecov |
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