diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 69cdc9c..3803dd3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,15 +21,13 @@ jobs: run: | pip install -e . pip install pytest - - - name: List files - run: | - echo "=== src/mockapi ===" && ls -la src/mockapi/ - echo "=== tests ===" && ls -la tests/ - echo "=== tests/unit ===" && ls -la tests/unit/ + pip list - name: Run tests - run: pytest tests/unit/test_generators.py -v + run: | + ls -la tests/unit/ + python -c "from mockapi.core.generators import DataGenerator; print('Import successful')" + pytest tests/unit/test_generators.py -v --tb=short build: runs-on: ubuntu-latest @@ -43,4 +41,6 @@ jobs: python-version: '3.11' - name: Build package - run: pip install build && python -m build \ No newline at end of file + run: | + pip install build + python -m build \ No newline at end of file