Skip to content

Commit aeb861d

Browse files
codebydivineclaude
andcommitted
refactor: make CI workflow repository-independent
Remove hardcoded package name references from CI workflow to make it reusable across repositories. The workflow now uses pyproject.toml coverage config and scans entire src/ directory for type checking. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7bf7d99 commit aeb861d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: poetry install --no-interaction --with dev --no-root
3434

3535
- name: Run tests with pytest
36-
run: poetry run pytest -v --cov=thegraph_token_api --cov-report=term-missing --cov-report=xml --cov-report=html
36+
run: poetry run pytest -v --cov-report=term-missing --cov-report=xml --cov-report=html
3737
shell: bash
3838

3939
- name: Upload coverage to Codecov
@@ -81,7 +81,7 @@ jobs:
8181
run: poetry run ruff format --check .
8282

8383
- name: Run mypy
84-
run: poetry run mypy src/thegraph_token_api --ignore-missing-imports
84+
run: poetry run mypy src/ --ignore-missing-imports
8585

8686
- name: Run bandit security scan
8787
run: poetry run bandit -r src/ -f txt

0 commit comments

Comments
 (0)