Skip to content

Commit d4e2fff

Browse files
authored
Add --github-repository also for integration tests (apache#30854)
Following up after apache#30850 we also need to add github-repository option to integration test in order to be able to test a PR in another repository.
1 parent f20c08a commit d4e2fff

4 files changed

Lines changed: 45 additions & 37 deletions

File tree

dev/breeze/src/airflow_breeze/commands/testing_commands.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ def command_for_tests(
433433
@option_image_tag_for_running
434434
@option_mount_sources
435435
@option_integration
436+
@option_github_repository
436437
@click.option(
437438
"--test-timeout",
438439
help="Test timeout. Set the pytest setup, execution and teardown timeouts to this value",
@@ -457,6 +458,7 @@ def integration_tests(
457458
mysql_version: str,
458459
mssql_version: str,
459460
integration: tuple,
461+
github_repository: str,
460462
test_timeout: int,
461463
skip_provider_tests: bool,
462464
db_reset: bool,
@@ -478,6 +480,7 @@ def integration_tests(
478480
forward_ports=False,
479481
test_type="Integration",
480482
skip_provider_tests=skip_provider_tests,
483+
github_repository=github_repository,
481484
)
482485
cleanup_python_generated_files()
483486
perform_environment_checks()

dev/breeze/src/airflow_breeze/commands/testing_commands_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"--postgres-version",
7272
"--mysql-version",
7373
"--mssql-version",
74+
"--github-repository",
7475
],
7576
},
7677
{

images/breeze/output-commands-hash.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ static-checks:543f0c776d0f198e80a0f75058445bb2
5959
stop:e5aa686b4e53707ced4039d8414d5cd6
6060
testing:docker-compose-tests:b86c044b24138af0659a05ed6331576c
6161
testing:helm-tests:936cf28fd84ce4ff5113795fdae9624b
62-
testing:integration-tests:7865b62e9418ddb749511f8a801a49c2
62+
testing:integration-tests:6b302f81c1038215bbc9f22f9490fcfc
6363
testing:tests:9a8e3645ff5341788b5cd683b1c4bdcd
64-
testing:c3afd3f1ed8d5c5fad09d289ef8edd63
64+
testing:405296e5ab9be9aa9e1af3f162bd296a

0 commit comments

Comments
 (0)