Skip to content

Commit

Permalink
ci: add lint and test github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thegamecracks committed Mar 9, 2024
1 parent be98b4f commit a75a455
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint and test

on:
push:
paths:
- '**.py'

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: pip
cache-dependency-path: pyproject.toml
python-version-file: pyproject.toml
- run: pip install pyright
- name: Install dumdum
run: pip install .[tests]
- run: pyright
- run: pytest

0 comments on commit a75a455

Please sign in to comment.