From e612837737931790f74749b8b4013a5a70349316 Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Wed, 1 Nov 2023 14:58:21 +0800 Subject: [PATCH 1/2] Update test_source.py --- scripts/ci/test_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/test_source.py b/scripts/ci/test_source.py index df5f799e194..cd3e743c3e1 100755 --- a/scripts/ci/test_source.py +++ b/scripts/ci/test_source.py @@ -70,7 +70,7 @@ def test_extension(): logger.info(f'installing extension: {ext_name}') cmd = ['azdev', 'extension', 'add', ext_name] run_command(cmd, check_return_code=True) - test_args = [sys.executable, '-m', 'azdev', 'test', '--no-exitfirst', '--discover', '--verbose', ext_name] + test_args = [sys.executable, '-m', 'azdev', 'test', '--no-exitfirst', '--discover', '--verbose', tname] logger.warning(f'test_args: {test_args}') run_command(test_args, check_return_code=True) logger.info(f'uninstalling extension: {ext_name}') From efb52043d5c4a3d25dcc99b88a7fb29ccacb66f1 Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Wed, 1 Nov 2023 15:14:17 +0800 Subject: [PATCH 2/2] Update test_source.py --- scripts/ci/test_source.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ci/test_source.py b/scripts/ci/test_source.py index cd3e743c3e1..53aca2ae0a3 100755 --- a/scripts/ci/test_source.py +++ b/scripts/ci/test_source.py @@ -70,6 +70,7 @@ def test_extension(): logger.info(f'installing extension: {ext_name}') cmd = ['azdev', 'extension', 'add', ext_name] run_command(cmd, check_return_code=True) + # python -m azdev test --no-exitfirst --discover --verbose azext_containerapp test_args = [sys.executable, '-m', 'azdev', 'test', '--no-exitfirst', '--discover', '--verbose', tname] logger.warning(f'test_args: {test_args}') run_command(test_args, check_return_code=True)