Skip to content

run isort and black everywhere #58

run isort and black everywhere

run isort and black everywhere #58

name: Lint and test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 # v2.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@41b7212b1668f5de9d65e9c82aa777e6bbedb3a8 # v2.1.4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Lint with flake8
run: make lint
- name: Test with pytest
run: make test