From a430d1fd3f89b1df7ea817f253b59f52ae9dbd0d Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 16:45:52 +0000 Subject: [PATCH] fix: add tests back to CI --- .gitea/workflows/ci.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 117e212..5dd8a99 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -17,11 +17,14 @@ jobs: with: python-version: "3.12" - - name: Install ruff - run: pip install ruff - - - name: Run linter with verbose output + - name: Install dependencies run: | - ruff check gitignore_generator/ tests/ || true - echo "---" - ruff format --check gitignore_generator/ tests/ || true + python -m pip install --upgrade pip + pip install ruff pytest + pip install -e . + + - name: Run linter + run: ruff check gitignore_generator/ tests/ + + - name: Run tests + run: python -m pytest tests/test_validator.py -v --tb=short