-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop'
- Loading branch information
Showing
20 changed files
with
1,007 additions
and
1,115 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,60 @@ | ||
# GitHub Continuous Integration Configuration | ||
name: CI | ||
|
||
# Define conditions for when to run this action | ||
on: | ||
pull_request: # Run on all pull requests | ||
push: # Run on all pushes to master | ||
branches: | ||
- main | ||
- develop | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs. Each job has an id, for | ||
# example, one of our jobs is "lint" | ||
jobs: | ||
test: | ||
name: Tests ${{ matrix.python-version }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
# Define OS and Python versions to use. 3.x is the latest minor version. | ||
matrix: | ||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.x"] | ||
os: [ubuntu-latest] | ||
|
||
# Sequence of tasks for this job | ||
steps: | ||
# Check out latest code | ||
# Docs: https://github.com/actions/checkout | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
# Set up Python | ||
# Docs: https://github.com/actions/setup-python | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# Install dependencies | ||
# https://github.com/ymyzk/tox-gh-actions#workflow-configuration | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install coverage tox tox-gh-actions | ||
# Run tests | ||
# https://github.com/ymyzk/tox-gh-actions#workflow-configuration | ||
- name: Run tests | ||
run: tox | ||
- name: Combine coverage | ||
run: coverage xml | ||
|
||
# Upload coverage report | ||
# https://github.com/codecov/codecov-action | ||
- name: Upload coverage report | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
fail_ci_if_error: true |
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 |
---|---|---|
|
@@ -27,3 +27,4 @@ build/ | |
/tmp/ | ||
/.coverage* | ||
*,cover | ||
coverage.xml |
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
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
Oops, something went wrong.