From 7a51dce2b95c581a30e435a787d38ec833ab2140 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 22:13:46 +0000 Subject: [PATCH] Add Gitea Actions workflow: ci.yml --- .gitea/workflows/ci.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c790d66..df59996 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,7 +14,25 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' + - name: Show directory + run: | + pwd + ls -la + - name: Show tests directory + run: | + ls -la tests/ + ls -la tests/unit/ + ls -la tests/integration/ + - name: Show examples directory + run: | + ls -la examples/ - name: Install package - run: pip install -e ".[dev]" - - name: Run tests - run: pytest tests/ -v --tb=short + run: | + pip install -e ".[dev]" 2>&1 | head -50 + - name: Verify installation + run: | + python -c "import mockapi; print('mockapi imported successfully')" + python -c "from mockapi.core.generators import DataGenerator; print('DataGenerator imported successfully')" + - name: Run tests with detailed output + run: | + python -m pytest tests/ -v --tb=long 2>&1