This commit is contained in:
@@ -14,25 +14,7 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
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
|
- name: Install package
|
||||||
run: |
|
run: pip install -e ".[dev]"
|
||||||
pip install -e ".[dev]" 2>&1 | head -50
|
- name: Run unit tests only
|
||||||
- name: Verify installation
|
run: pytest tests/unit/ -v
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user