diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4c51e1e..9de1c03 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,29 +11,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install system dependencies + - name: Set up system dependencies run: | apt-get update apt-get install -y graphviz - - - name: Install Python dependencies + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - name: Install dependencies run: | - pip install --upgrade pip - pip install -e . - - - name: Run linters - run: | - pip install ruff mypy - ruff check src tests - python -m mypy src - + pip install -e ".[dev]" - name: Run tests - run: | - pytest tests/unit/ -v - pytest tests/integration/ -v + run: pytest tests/ -v + - name: Run linting + run: ruff check .