You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test-object-store-integration: test-s3 test-adls test-gcs # Run object stores integration tests, can add arguments with PYTEST_ARGS="-vv"
70
+
69
71
test-s3: # Run tests marked with s3, can add arguments with PYTEST_ARGS="-vv"
70
72
sh ./dev/run-minio.sh
71
73
poetry run pytest tests/ -m s3 ${PYTEST_ARGS}
@@ -81,17 +83,26 @@ test-gcs: # Run tests marked with gcs, can add arguments with PYTEST_ARGS="-vv"
81
83
test-coverage-unit: # Run test with coverage for unit tests, can add arguments with PYTEST_ARGS="-vv"
82
84
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.unit -m pytest tests/ -v -m "(unmarked or parametrize) and not integration"${PYTEST_ARGS}
83
85
84
-
test-coverage-integration: test-integration-setup # Run test with coverage for integration tests, can add arguments with PYTEST_ARGS="-vv"
86
+
test-coverage-integration: test-integration-setup test-object-store-integration # Run test with coverage for integration tests, can add arguments with PYTEST_ARGS="-vv"
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.integration -m pytest tests/ -v -m integration ${PYTEST_ARGS}
87
89
88
-
test-coverage: | test-coverage-unit test-coverage-integration test-s3 test-adls test-gcs # Run all tests with coverage including unit and integration tests
90
+
test-coverage-object-store-integration: # Run test with coverage for object stores integration tests, can add arguments with PYTEST_ARGS="-vv"
91
+
sh ./dev/run-minio.sh
92
+
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.integration -m pytest tests/ -m s3 ${PYTEST_ARGS}
93
+
94
+
sh ./dev/run-azurite.sh
95
+
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.integration -m pytest tests/ -m adls ${PYTEST_ARGS}
96
+
97
+
sh ./dev/run-gcs-server.sh
98
+
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.integration -m pytest tests/ -m gcs ${PYTEST_ARGS}
99
+
100
+
test-coverage: | test-coverage-unit test-coverage-integration test-coverage-object-store-integration # Run all tests with coverage including unit and integration tests
89
101
poetry run coverage combine .coverage.unit .coverage.integration
90
102
poetry run coverage report -m --fail-under=90
91
103
poetry run coverage html
92
104
poetry run coverage xml
93
105
94
-
95
106
clean: # Clean up the project Python working environment
96
107
@echo "Cleaning up Cython and Python cached files"
0 commit comments