Optionally test in a subset of browsers locally

When run with --not-actually-all, scripts/run-all-browsers skips all
but the oldest and newest supported Firefox and Safari versions. This
provides a faster but still quite reliable mergeability check.

CI still tests against all supported browsers.
This commit is contained in:
Steve Gravrock
2025-09-01 08:38:31 -07:00
parent ca4fbcbccb
commit 91bd3f8201

View File

@@ -28,13 +28,26 @@ failfile=`mktemp -t jasmine-results.XXXXXX` || exit 1
run_browser chrome latest
run_browser firefox latest
run_browser firefox 140
run_browser firefox 128
run_browser firefox 115
if [ "$1" = "--not-actually-all" ]; then
echo "SKIPPED: firefox 140" >> "$passfile"
echo "SKIPPED: firefox 128" >> "$passfile"
echo "SKIPPED: firefox 115" >> "$passfile"
else
run_browser firefox 140
run_browser firefox 128
run_browser firefox 115
fi
run_browser firefox 102
run_browser safari 17
run_browser safari 16
if [ "$1" = "--not-actually-all" ]; then
echo "SKIPPED: safari 16" >> "$passfile"
else
run_browser safari 16
fi
run_browser safari 15
run_browser MicrosoftEdge latest
echo