Skip to content

Switch to Github Actions #3

Switch to Github Actions

Switch to Github Actions #3

Workflow file for this run

name: Run code formatters
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.9.17
uses: actions/setup-python@v2
with:
python-version: 3.9.17
- name: Install pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
- name: Install dependencies
run: |
pipenv install --dev
- name: Run isort
run: pipenv run isort --check-only .
- name: Run black
run: pipenv run black --diff .