Bump #21
Workflow file for this run
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
name: main | |
on: | |
- push | |
jobs: | |
test: | |
name: Test and lint source | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 38 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Setup packages | |
run: | | |
pip install -U pip setuptools wheel | |
pip install -r requirements-dev.txt codecov | |
- name: Lint | |
run: | | |
flake8 | |
mypy | |
black --diff src | |
black --check src | |
isort --diff src | |
isort --check src | |
- name: Test | |
run: | | |
pytest --cov --cov-report=xml | |
- name: Send coverage to codecov | |
run: | | |
codecov |