Minimal CI with maximum debugging
This commit is contained in:
@@ -21,15 +21,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install pytest
|
pip install pytest
|
||||||
|
pip list
|
||||||
- name: List files
|
|
||||||
run: |
|
|
||||||
echo "=== src/mockapi ===" && ls -la src/mockapi/
|
|
||||||
echo "=== tests ===" && ls -la tests/
|
|
||||||
echo "=== tests/unit ===" && ls -la tests/unit/
|
|
||||||
|
|
||||||
- name: Run tests
|
- 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:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -43,4 +41,6 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: pip install build && python -m build
|
run: |
|
||||||
|
pip install build
|
||||||
|
python -m build
|
||||||
Reference in New Issue
Block a user