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