Skip to content

Commit

Permalink
Add CI linting steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Apr 17, 2024
1 parent d7ab7e0 commit 9b3a268
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI
on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dev requirements
run: pip install -r requirements_dev.txt
- name: Check black
run: black --check iati_sphinx_theme
- name: Check isort
run: isort --check-only iati_sphinx_theme
- name: Check flake8
run: flake8 iati_sphinx_theme

0 comments on commit 9b3a268

Please sign in to comment.