Skip to content

Commit 49d2307

Browse files
test run
1 parent 9adbb0e commit 49d2307

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/l10n_smoke.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,36 +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
81-
if: steps.setup.conclusion == 'success'
80+
- name: Run L10N Tests in MacOS (Headed)
81+
if: steps.setup.conclusion == 'success' && always()
8282
env:
8383
FX_EXECUTABLE: /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox
84+
REPORTABLE: true
8485
run: |
85-
"$FX_EXECUTABLE" --version
86+
mv ./ci_pyproject_headed.toml ./pyproject.toml;
8687
echo "TEST_EXIT_CODE=0" >> $GITHUB_ENV
8788
echo "SCRIPT_EXIT_CODE=0" >> $GITHUB_ENV
8889
pipenv run python check_l10n_test_cases.py
8990
while IFS= read -r line; do
9091
echo "Running tests for: $line"
91-
pipenv run python l10n_CM/run_l10n.py --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
92+
pipenv run python l10n_CM/run_l10n.py --ci --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
9293
done < selected_l10n_mappings
9394
mv artifacts artifacts-mac || true
9495
if [ $TEST_EXIT_CODE != 0 ]; then
9596
exit $TEST_EXIT_CODE
9697
fi
9798
exit $SCRIPT_EXIT_CODE
98-
- name: Run L10N Tests in MacOS (Headed)
99-
if: steps.setup.conclusion == 'success' && always()
99+
- name: Run L10N Tests in MacOS
100+
if: steps.setup.conclusion == 'success'
100101
env:
101102
FX_EXECUTABLE: /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox
103+
REPORTABLE: true
102104
run: |
103-
mv ./ci_pyproject_headed.toml ./pyproject.toml;
105+
"$FX_EXECUTABLE" --version
104106
echo "TEST_EXIT_CODE=0" >> $GITHUB_ENV
105107
echo "SCRIPT_EXIT_CODE=0" >> $GITHUB_ENV
106108
pipenv run python check_l10n_test_cases.py
107109
while IFS= read -r line; do
108110
echo "Running tests for: $line"
109-
pipenv run python l10n_CM/run_l10n.py --ci --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
111+
pipenv run python l10n_CM/run_l10n.py --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
110112
done < selected_l10n_mappings
111113
mv artifacts artifacts-mac || true
112114
if [ $TEST_EXIT_CODE != 0 ]; then

0 commit comments

Comments
 (0)