From 3d1c1d11ac617609f1ca2da316693599c376d194 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 18:11:36 +0000 Subject: [PATCH] Fix CI: combine all steps into one --- .gitea/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6055b09..2eb7329 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,21 +9,16 @@ on: jobs: test: runs-on: ubuntu-latest - defaults: - run: - working-directory: ./app steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Install dependencies + - name: Run tests and linting run: | python -m pip install --upgrade pip + cd app pip install -e ".[dev]" - - name: Run tests - run: python -m pytest tests/ -v --cov=src --cov-report=term-missing - - name: Check linting - run: | + python -m pytest tests/ -v --cov=src --cov-report=term-missing pip install ruff ruff check .