Skip to content

Merge pull request #4 from acharles7/add-github-workflow #2

Merge pull request #4 from acharles7/add-github-workflow

Merge pull request #4 from acharles7/add-github-workflow #2

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python (3.12)
name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: mypy
run: |
mypy -p src
- name: isort
run: |
isort --check .
- name: black
run: |
black --check .