Minimal CI with maximum debugging
This commit is contained in:
@@ -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
|
||||
run: |
|
||||
pip install build
|
||||
python -m build
|
||||
Reference in New Issue
Block a user