chore: add ruff checks
This commit is contained in:
@@ -20,15 +20,21 @@ jobs:
|
||||
with:
|
||||
python-version: "3.11"
|
||||
cache: pip
|
||||
cache-dependency-path: requirements.txt
|
||||
cache-dependency-path: |
|
||||
requirements.txt
|
||||
requirements-dev.txt
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install -r requirements-dev.txt
|
||||
|
||||
- name: Ruff lint
|
||||
run: python -m ruff check app tests main.py
|
||||
|
||||
- name: Syntax check
|
||||
run: python -m compileall app main.py
|
||||
|
||||
- name: Unit and GUI tests
|
||||
run: python -m unittest discover -s tests
|
||||
run: python -m unittest discover -s tests
|
||||
|
||||
Reference in New Issue
Block a user