API updates #46
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' | |
architecture: x64 | |
- 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' | |
architecture: x64 | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip pipenv | |
pipenv install --dev | |
- name: Linting | |
run: make lint |