File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,13 +52,17 @@ test-s3: # Run tests marked with s3, can add arguments with PYTEST_ARGS="-vv"
5252 sh ./dev/run-minio.sh
5353 poetry run pytest tests/ -m s3 ${PYTEST_ARGS}
5454
55- test-integration : # # Run all integration tests, can add arguments with PYTEST_ARGS="-vv"
55+ test-integration : | test-integration-setup test-integration-exec # # Run all integration tests, can add arguments with PYTEST_ARGS="-vv"
56+
57+ test-integration-setup : # Prepare the environment for integration
5658 docker compose -f dev/docker-compose-integration.yml kill
5759 docker compose -f dev/docker-compose-integration.yml rm -f
5860 docker compose -f dev/docker-compose-integration.yml up -d
5961 sleep 10
6062 docker compose -f dev/docker-compose-integration.yml cp ./dev/provision.py spark-iceberg:/opt/spark/provision.py
6163 docker compose -f dev/docker-compose-integration.yml exec -T spark-iceberg ipython ./provision.py
64+
65+ test-integration-exec : # Execute integration tests, can add arguments with PYTEST_ARGS="-vv"
6266 poetry run pytest tests/ -v -m integration ${PYTEST_ARGS}
6367
6468test-integration-rebuild :
You can’t perform that action at this time.
0 commit comments