fix: resolve CI issues - remove unused imports and fix code quality
This commit is contained in:
23
.gitea/workflows/repohealth.yml
Normal file
23
.gitea/workflows/repohealth.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: repohealth-cli CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- 'repohealth-cli/**'
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- 'repohealth-cli/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
- run: cd repohealth-cli && pip install -e ".[dev]"
|
||||||
|
- run: cd repohealth-cli && pytest tests/ -v
|
||||||
|
- run: cd repohealth-cli && ruff check src/ tests/
|
||||||
Reference in New Issue
Block a user