Skip to content

Commit b454213

Browse files
test run
1 parent 49d2307 commit b454213

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/l10n_smoke.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,38 +77,38 @@ jobs:
7777
MANUAL_DOWNLOAD_LINK: ${{ inputs.mac_installer_link }}
7878
run:
7979
echo app_name=$(bash ./collect_executables.sh | xargs -0 ./parse_executables.sh) >> "$GITHUB_OUTPUT"
80-
- name: Run L10N Tests in MacOS (Headed)
81-
if: steps.setup.conclusion == 'success' && always()
80+
- name: Run L10N Tests in MacOS
81+
if: steps.setup.conclusion == 'success'
8282
env:
8383
FX_EXECUTABLE: /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox
8484
REPORTABLE: true
8585
run: |
86-
mv ./ci_pyproject_headed.toml ./pyproject.toml;
86+
"$FX_EXECUTABLE" --version
8787
echo "TEST_EXIT_CODE=0" >> $GITHUB_ENV
8888
echo "SCRIPT_EXIT_CODE=0" >> $GITHUB_ENV
8989
pipenv run python check_l10n_test_cases.py
9090
while IFS= read -r line; do
9191
echo "Running tests for: $line"
92-
pipenv run python l10n_CM/run_l10n.py --ci --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
92+
pipenv run python l10n_CM/run_l10n.py --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
9393
done < selected_l10n_mappings
9494
mv artifacts artifacts-mac || true
9595
if [ $TEST_EXIT_CODE != 0 ]; then
9696
exit $TEST_EXIT_CODE
9797
fi
9898
exit $SCRIPT_EXIT_CODE
99-
- name: Run L10N Tests in MacOS
100-
if: steps.setup.conclusion == 'success'
99+
- name: Run L10N Tests in MacOS (Headed)
100+
if: steps.setup.conclusion == 'success' && always()
101101
env:
102102
FX_EXECUTABLE: /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox
103103
REPORTABLE: true
104104
run: |
105-
"$FX_EXECUTABLE" --version
105+
mv ./ci_pyproject_headed.toml ./pyproject.toml;
106106
echo "TEST_EXIT_CODE=0" >> $GITHUB_ENV
107107
echo "SCRIPT_EXIT_CODE=0" >> $GITHUB_ENV
108108
pipenv run python check_l10n_test_cases.py
109109
while IFS= read -r line; do
110110
echo "Running tests for: $line"
111-
pipenv run python l10n_CM/run_l10n.py --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
111+
pipenv run python l10n_CM/run_l10n.py --ci --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
112112
done < selected_l10n_mappings
113113
mv artifacts artifacts-mac || true
114114
if [ $TEST_EXIT_CODE != 0 ]; then

0 commit comments

Comments
 (0)