Simplify CI to debug test failure
This commit is contained in:
@@ -22,14 +22,12 @@ jobs:
|
||||
pip install -e ".[dev]"
|
||||
pip install ruff mypy
|
||||
|
||||
- name: Run linting
|
||||
run: ruff check src/
|
||||
|
||||
- name: Run type checking
|
||||
run: mypy src/mockapi/ || true
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/unit/test_generators.py tests/unit/test_config.py tests/unit/test_validator.py tests/integration/test_cli.py tests/integration/test_server.py -v
|
||||
run: |
|
||||
echo "=== Installed packages ==="
|
||||
pip list | grep -E "(mockapi|pytest|faker|click|connexion|openapi)"
|
||||
echo "=== Running pytest ==="
|
||||
pytest tests/unit/test_generators.py tests/unit/test_config.py tests/unit/test_validator.py tests/integration/test_cli.py tests/integration/test_server.py -v
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user