Skip to content

Add linting including a gh action #5

Add linting including a gh action

Add linting including a gh action #5

Workflow file for this run

# Lint tests run on PR
# but should not run after push to main because reporting
# these after push is meaningless to the building of the package
name: lint
on:
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install tox
- name: Test Lint
run: tox -e lint