23 lines
510 B
YAML
23 lines
510 B
YAML
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/ |