diff --git a/.githooks/pre-push b/.githooks/pre-push index 1076fc7..24b619c 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -8,8 +8,10 @@ trap 'exit 1' ERR # Run unit tests poetry run pytest -# Run Smoke tests -poetry run pytest test/smoke/test_smoke.py +# Run Smoke tests (fast, non-network subset) +# For the full smoke suite including network/slow tests, use: +# poetry run pytest test/smoke/test_smoke.py +poetry run pytest test/smoke/test_smoke.py -m "smoke and not network and not slow" # Test malicious detection (should fail with exit code 1) if poetry run python -m ossprey --dry-run-malicious --package test/test_packages/npm_simple_math/ --mode npm; then