diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4ff0551..17ed2bc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - name: Lint with ruff run: | - .venv/bin/ruff check src/ + test -d src && .venv/bin/ruff check src/ || echo "No src/ directory, skipping lint" # ── Job 2: Test ────────────────────────────────────── test: diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 603dc7f..827510b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: - name: Lint run: | - .venv/bin/ruff check src/ + test -d src && .venv/bin/ruff check src/ || echo "No src/ directory, skipping lint" - name: Unit & Integration Tests run: |