Skip to content

Commit

Permalink
Add CI for qol checks
Browse files Browse the repository at this point in the history
  • Loading branch information
krypticmouse committed May 15, 2024
1 parent 55d0bae commit f29e03a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/qol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Lint, Type Check, and Test

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install ruff
- run: ruff check .

type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install pyright
- run: pyright

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install pytest
- run: pytest

0 comments on commit f29e03a

Please sign in to comment.