First pass of adding type hints #120
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: Tests | |
on: push | |
jobs: | |
test: | |
name: Run tests | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip pipenv | |
pipenv install --dev | |
- name: Tests | |
run: make coveralls | |
linting: | |
name: Run linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip pipenv | |
pipenv install --dev | |
- name: bandit | |
run: make bandit | |
- name: black | |
run: make black | |
- name: flake8 | |
run: make flake8 | |
- name: isort | |
run: make isort |