Skip to content

Commit b8f2195

Browse files
committed
add to test-coverage
1 parent eab5f06 commit b8f2195

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ test-adls: ## Run tests marked with adls, can add arguments with PYTEST_ARGS="-v
7676

7777
test-gcs: ## Run tests marked with gcs, can add arguments with PYTEST_ARGS="-vv"
7878
sh ./dev/run-gcs-server.sh
79-
poetry run pytest tests/ -m gcs ${PYTEST_ARGS}
79+
poetry run pytest tests/ -m gcs ${PYTEST_ARGS}
8080

8181
test-coverage-unit: # Run test with coverage for unit tests, can add arguments with PYTEST_ARGS="-vv"
8282
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.unit -m pytest tests/ -v -m "(unmarked or parametrize) and not integration" ${PYTEST_ARGS}
@@ -85,14 +85,12 @@ test-coverage-integration: # Run test with coverage for integration tests, can a
8585
docker compose -f dev/docker-compose-integration.yml kill
8686
docker compose -f dev/docker-compose-integration.yml rm -f
8787
docker compose -f dev/docker-compose-integration.yml up -d
88-
sh ./dev/run-azurite.sh
89-
sh ./dev/run-gcs-server.sh
9088
sleep 10
9189
docker compose -f dev/docker-compose-integration.yml cp ./dev/provision.py spark-iceberg:/opt/spark/provision.py
9290
docker compose -f dev/docker-compose-integration.yml exec -T spark-iceberg ipython ./provision.py
9391
poetry run coverage run --source=pyiceberg/ --data-file=.coverage.integration -m pytest tests/ -v -m integration ${PYTEST_ARGS}
9492

95-
test-coverage: | test-coverage-unit test-coverage-integration ## Run all tests with coverage including unit and integration tests
93+
test-coverage: | test-coverage-unit test-coverage-integration test-s3 test-adls test-gcs ## Run all tests with coverage including unit and integration tests
9694
poetry run coverage combine .coverage.unit .coverage.integration
9795
poetry run coverage report -m --fail-under=90
9896
poetry run coverage html

0 commit comments

Comments
 (0)