Skip to content

chore: only test python 3.8-3.11 #67

chore: only test python 3.8-3.11

chore: only test python 3.8-3.11 #67

Workflow file for this run

name: lint
on: push
jobs:
black:
name: Lint (black)
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
if [ -f requirements.txt ]; then
pip install -r requirements.txt
else
pip install -e .
fi
- name: Lint with black
run: black --check .