fix: add tests back to CI
Some checks failed
CI / lint (push) Has been cancelled

This commit is contained in:
2026-02-02 16:45:52 +00:00
parent 9d0ef77fa9
commit a430d1fd3f

View File

@@ -17,11 +17,14 @@ jobs:
with:
python-version: "3.12"
- name: Install ruff
run: pip install ruff
- name: Run linter with verbose output
- name: Install dependencies
run: |
ruff check gitignore_generator/ tests/ || true
echo "---"
ruff format --check gitignore_generator/ tests/ || true
python -m pip install --upgrade pip
pip install ruff pytest
pip install -e .
- name: Run linter
run: ruff check gitignore_generator/ tests/
- name: Run tests
run: python -m pytest tests/test_validator.py -v --tb=short