File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ jobs:
109
109
echo "Running tests for: $line";
110
110
pipenv run python -m l10n_CM.run_l10n --fx-executable="$FX_EXECUTABLE" $line || SCRIPT_EXIT_CODE=$?;
111
111
done < selected_l10n_mappings;
112
+ ls artifacts-mac/* &>/dev/null || echo "No mappings to report" >> artifacts-mac/placeholder.txt
112
113
mv -n artifacts/* artifacts-mac/ || true;
113
114
EXIT_CODE=$(cat TEST_EXIT_CODE);
114
115
if [ $EXIT_CODE != 0 ]; then
@@ -191,6 +192,7 @@ jobs:
191
192
echo "Running tests for: $line";
192
193
DISPLAY=:99 pipenv run python -m l10n_CM.run_l10n --fx-executable="$FX_EXECUTABLE" $line || SCRIPT_EXIT_CODE=$?;
193
194
done < selected_l10n_mappings;
195
+ ls artifacts-linux/* &>/dev/null || echo "No mappings to report" >> artifacts-linux/placeholder.txt
194
196
mv -n artifacts/* artifacts-linux/ || true;
195
197
EXIT_CODE=$(cat TEST_EXIT_CODE);
196
198
if [ $EXIT_CODE != 0 ]; then
@@ -330,7 +332,7 @@ jobs:
330
332
}
331
333
mkdir artifacts-win -Force
332
334
if (-not (Test-Path -Path "artifacts-win\*")) {
333
- New-Item -Path "artifacts-win\placeholder.txt" -ItemType File
335
+ New-Item -Path "artifacts-win\placeholder.txt" -ItemType File -Value "no mappings to report."
334
336
}
335
337
$EXIT_CODE = Get-Content -Path "TEST_EXIT_CODE"
336
338
if ($EXIT_CODE -ne 0) {
You can’t perform that action at this time.
0 commit comments