Fix code quality jobs
This commit is contained in:
parent
d1f0ea2a70
commit
265e9d25d3
1 changed files with 3 additions and 3 deletions
6
.github/workflows/code-quality.yml
vendored
6
.github/workflows/code-quality.yml
vendored
|
|
@ -28,11 +28,11 @@ jobs:
|
||||||
|
|
||||||
- name: Check formatting with Black
|
- name: Check formatting with Black
|
||||||
run: |
|
run: |
|
||||||
black --check src/ tests/
|
black --check src/
|
||||||
|
|
||||||
- name: Lint with Ruff
|
- name: Lint with Ruff
|
||||||
run: |
|
run: |
|
||||||
ruff check src/ tests/
|
ruff check src/
|
||||||
|
|
||||||
- name: Type check with MyPy
|
- name: Type check with MyPy
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -64,7 +64,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
run: |
|
||||||
pytest tests/unit/ -v --cov=src/geoguessr_mcp --cov-report=xml --cov-report=term
|
pytest src/tests/ -v --cov=src/geoguessr_mcp --cov-report=xml --cov-report=term
|
||||||
|
|
||||||
- name: Upload coverage reports
|
- name: Upload coverage reports
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue