File tree Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Expand file tree Collapse file tree 3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 81
81
if : steps.setup.conclusion == 'success'
82
82
env :
83
83
FX_EXECUTABLE : /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox
84
- REPORTABLE : true
85
84
run : |
86
85
"$FX_EXECUTABLE" --version
87
86
echo "TEST_EXIT_CODE=0" >> $GITHUB_ENV
@@ -102,15 +101,15 @@ jobs:
102
101
FX_EXECUTABLE : /Volumes/${{ steps.setup.outputs.app_name }}/${{ steps.setup.outputs.app_name }}.app/Contents/MacOS/firefox
103
102
REPORTABLE : true
104
103
run : |
105
- mv ./ci_pyproject_headed .toml ./pyproject.toml;
104
+ mv ./ci_l10n_pyproject_headed .toml ./pyproject.toml;
106
105
echo "TEST_EXIT_CODE=0" >> $GITHUB_ENV
107
106
echo "SCRIPT_EXIT_CODE=0" >> $GITHUB_ENV
108
107
pipenv run python check_l10n_test_cases.py
109
108
while IFS= read -r line; do
110
109
echo "Running tests for: $line"
111
110
pipenv run python l10n_CM/run_l10n.py --ci --fx-executable="$FX_EXECUTABLE" -n 4 $line || SCRIPT_EXIT_CODE=$?
112
111
done < selected_l10n_mappings
113
- mv artifacts artifacts-mac || true
112
+ mv -n artifacts/* artifacts-mac/ || true
114
113
if [ $TEST_EXIT_CODE != 0 ]; then
115
114
exit $TEST_EXIT_CODE
116
115
fi
Original file line number Diff line number Diff line change
1
+ [tool .pytest .ini_options ]
2
+ generate_report_on_test = true
3
+ log_cli = true
4
+ log_cli_level = " warn"
5
+ markers = [
6
+ " audio: test is reliant on audio" ,
7
+ " headed: test must run in headed mode (e.g. uses pynput)" ,
8
+ " incident: incident smoke tests" ,
9
+ " unstable: temporary mark for unstable tests" ,
10
+ " slow: test is clocked at more than 30s on modern machines" ,
11
+ " ci: basic tests to run in ci" ,
12
+ " locale_de: tests run in DE locale versions" ,
13
+ " locale_fr: tests run in FR locale versions" ,
14
+ " locale_gb: tests run in GB locale versions" ,
15
+ " noxvfb: tests that should not run in xvfb sessions"
16
+ ]
17
+ testpaths = [
18
+ " l10n_CM/Unified"
19
+ ]
20
+ addopts = " -vs --ci --json-report --json-report-file artifacts/report_headed.json --reruns 3 --reruns-delay 2 -m 'not incident and not unstable and headed' --html=artifacts/report_headed.html"
21
+
22
+ [tool .ruff ]
23
+ target-version = " py310"
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ markers = [
15
15
" noxvfb: tests that should not run in xvfb sessions"
16
16
]
17
17
testpaths = [
18
- " tests"
18
+ " tests" ,
19
+ " l10n_CM/Unified"
19
20
]
20
21
addopts = " -vs --ci --run-headless --json-report --json-report-file artifacts/report.json --reruns 3 --reruns-delay 3 -m 'not incident and not unstable and not headed' --html=artifacts/report.html"
21
22
You can’t perform that action at this time.
0 commit comments