Files
devdash-cli/.gitea/workflows/ci.yml
7000pctAUTO 2333f58bac
Some checks failed
DevDash CLI CI / test (push) Failing after 10s
fix: update CI workflow to run devdash-cli specific tests
2026-02-01 07:38:31 +00:00

48 lines
1.0 KiB
YAML

name: DevDash CLI CI
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'requirements.txt'
- '.gitea/workflows/ci.yml'
pull_request:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'requirements.txt'
- '.gitea/workflows/ci.yml'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install ruff mypy
- name: Run pytest
run: |
pytest tests/test_models.py tests/test_config.py tests/test_cli.py tests/test_integration.py -v --tb=short
- name: Run ruff
run: ruff check src/
- name: Run mypy
run: mypy src/ --ignore-missing-imports --python-version 3.11