chore(deps): update dependency tox to v4 #400
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: Code checks and tests | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
codeChecks: | |
name: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Python and pipenv | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.7' | |
- name: Install dependencies | |
run: make install-ci | |
- name: Lint code | |
run: tox -e lint | |
- name: Lint docs Markdown files | |
run: tox -e doclint | |
- name: Check imports order | |
run: tox -e isort | |
- name: Static type checks | |
run: tox -e mypy | |
- name: Run tests | |
run: tox -e tests |