From 6e26a369eed0c132413ec6d688c1177d261314ca Mon Sep 17 00:00:00 2001 From: Arash Eghtesadi Date: Thu, 11 Dec 2025 15:24:05 -0800 Subject: [PATCH] rename the file choose_ci_set --- .github/workflows/main.yml | 12 ++++++------ choose_ci_set.py => choose_test_split.py | 0 taskcluster/kinds/new-beta-func/kind.yml | 2 +- taskcluster/kinds/new-beta-qa/kind.yml | 2 +- taskcluster/kinds/new-devedition-qa/kind.yml | 2 +- taskcluster/kinds/run-smoke-tests/kind.yml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) rename choose_ci_set.py => choose_test_split.py (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60bbe86cc..f190070e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -117,7 +117,7 @@ jobs: pipenv run python -c "import sys; print(sys.platform)" $env:FX_EXECUTABLE = "C:\Program Files\Custom Firefox\firefox.exe" Start-Process -FilePath $env:FX_EXECUTABLE -ArgumentList "--version" -Wait -NoNewWindow - pipenv run python choose_ci_set.py + pipenv run python choose_test_split.py pipenv run pytest $(cat selected_tests) --geckodriver=geckodriver.exe $env:TEST_EXIT_CODE = $LASTEXITCODE mv artifacts artifacts-win || true @@ -130,7 +130,7 @@ jobs: rm ./pyproject.toml; mv ./ci_pyproject_headed.toml ./pyproject.toml; $env:FX_EXECUTABLE = "C:\Program Files\Custom Firefox\firefox.exe" - pipenv run python choose_ci_set.py + pipenv run python choose_test_split.py pipenv run pytest $(cat selected_tests) --geckodriver=geckodriver.exe $env:TEST_EXIT_CODE = $LASTEXITCODE rm artifacts/assets -r -Force @@ -203,7 +203,7 @@ jobs: FX_EXECUTABLE: /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox run: | "$FX_EXECUTABLE" --version - pipenv run python choose_ci_set.py + pipenv run python choose_test_split.py pipenv run pytest --fx-executable="$FX_EXECUTABLE" $(cat selected_tests) || TEST_EXIT_CODE=$? mv artifacts artifacts-mac || true exit $TEST_EXIT_CODE @@ -214,7 +214,7 @@ jobs: REPORTABLE: true run: | mv ./ci_pyproject_headed.toml ./pyproject.toml; - pipenv run python choose_ci_set.py + pipenv run python choose_test_split.py pipenv run pytest --fx-executable="$FX_EXECUTABLE" $(cat selected_tests) || TEST_EXIT_CODE=$? mv -n artifacts/* artifacts-mac/ || true exit $TEST_EXIT_CODE @@ -264,7 +264,7 @@ jobs: FX_EXECUTABLE: ./firefox/firefox run: | "$FX_EXECUTABLE" --version; - pipenv run python choose_ci_set.py; + pipenv run python choose_test_split.py; Xvfb :99 -screen 0 '1600x1200x24' > artifacts/xvfb.log & DISPLAY=:99 pipenv run pytest --fx-executable="$FX_EXECUTABLE" $(cat selected_tests) || TEST_EXIT_CODE=$? exit $TEST_EXIT_CODE @@ -274,7 +274,7 @@ jobs: FX_EXECUTABLE: ./firefox/firefox run: | mv ./ci_xvfb_pyproject_headed.toml ./pyproject.toml; - pipenv run python choose_ci_set.py + pipenv run python choose_test_split.py DISPLAY=:99 pipenv run pytest --fx-executable="$FX_EXECUTABLE" $(cat selected_tests) || TEST_EXIT_CODE=$? exit $TEST_EXIT_CODE diff --git a/choose_ci_set.py b/choose_test_split.py similarity index 100% rename from choose_ci_set.py rename to choose_test_split.py diff --git a/taskcluster/kinds/new-beta-func/kind.yml b/taskcluster/kinds/new-beta-func/kind.yml index 4c1417920..e9864da7e 100644 --- a/taskcluster/kinds/new-beta-func/kind.yml +++ b/taskcluster/kinds/new-beta-func/kind.yml @@ -44,7 +44,7 @@ tasks: pipenv run python -c 'from modules import testrail_integration as tri; tri.tc_reportable()' || exit 0; $FX_EXECUTABLE --version; . ./keyring-unlock.sh - pipenv run python choose_ci_set.py; + pipenv run python choose_test_split.py; pipenv run pytest --fx-executable $FX_EXECUTABLE $(cat selected_tests); export FAILURE=${?}; mv ./ci_pyproject_headed.toml ./pyproject.toml; diff --git a/taskcluster/kinds/new-beta-qa/kind.yml b/taskcluster/kinds/new-beta-qa/kind.yml index 13b68575a..e66ee8472 100644 --- a/taskcluster/kinds/new-beta-qa/kind.yml +++ b/taskcluster/kinds/new-beta-qa/kind.yml @@ -43,7 +43,7 @@ tasks: pipenv run python -c 'from modules import testrail_integration as tri; tri.tc_reportable()' || exit 0; $FX_EXECUTABLE --version; . ./keyring-unlock.sh - pipenv run python choose_ci_set.py; + pipenv run python choose_test_split.py; pipenv run pytest --fx-executable $FX_EXECUTABLE $(cat selected_tests); export FAILURE=${?}; mv ./ci_pyproject_headed.toml ./pyproject.toml; diff --git a/taskcluster/kinds/new-devedition-qa/kind.yml b/taskcluster/kinds/new-devedition-qa/kind.yml index b4c09817a..21cc3c792 100644 --- a/taskcluster/kinds/new-devedition-qa/kind.yml +++ b/taskcluster/kinds/new-devedition-qa/kind.yml @@ -43,7 +43,7 @@ tasks: pipenv run python -c 'from modules import testrail_integration as tri; tri.tc_reportable()' || exit 0; $FX_EXECUTABLE --version; . ./keyring-unlock.sh - pipenv run python choose_ci_set.py + pipenv run python choose_test_split.py pipenv run pytest --fx-executable $FX_EXECUTABLE $(cat selected_tests); export FAILURE=${?}; mv ./ci_pyproject_headed.toml ./pyproject.toml; diff --git a/taskcluster/kinds/run-smoke-tests/kind.yml b/taskcluster/kinds/run-smoke-tests/kind.yml index 2355bc8e0..80ec653be 100644 --- a/taskcluster/kinds/run-smoke-tests/kind.yml +++ b/taskcluster/kinds/run-smoke-tests/kind.yml @@ -34,11 +34,11 @@ tasks: ./firefox/firefox --version; . ./keyring-unlock.sh if [[ ! $(python3 choose_test_channel.py) =~ "smoke" ]]; then exit 0; fi - pipenv run python3 choose_ci_set.py + pipenv run python3 choose_test_split.py pipenv run pytest --fx-executable ./firefox/firefox -n 4 $(cat selected_tests) export FAILURE=${?} mv ./ci_pyproject_headed.toml ./pyproject.toml; - pipenv run python3 choose_ci_set.py + pipenv run python3 choose_test_split.py pipenv run pytest --fx-executable ./firefox/firefox $(cat selected_tests) exit $((${?} | ${FAILURE})) notify: