This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user