Skip to content

Commit

Permalink
Add lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoodle committed Jan 28, 2025
1 parent b93fcfb commit 379b7fa
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Lint"

on:
push:
branches:
- "main, dev"
pull_request:
branches:
- "main, dev"

jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/[email protected]"

- name: "Set up Python"
uses: actions/[email protected]
with:
python-version: "3.13"
cache: "pip"

- name: "Install requirements"
run: python3 -m pip install -r requirements.txt

- name: "Run"
run: python3 -m ruff check .

- name: "Test"
run: pytest

0 comments on commit 379b7fa

Please sign in to comment.