mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
ci: run E2E only on nightly schedule, skip E2E on PR/push/manual CI, keep manual e2e workflow for on-demand runs, and align matrix/docs accordingly
This commit is contained in:
@@ -56,12 +56,12 @@ function toMatrixItems(suites) {
|
||||
function selectSuitesForEvent(eventName, changedFiles) {
|
||||
const suites = listE2ESuites();
|
||||
|
||||
if (eventName === "workflow_dispatch" || eventName === "push" || eventName === "schedule") {
|
||||
if (eventName === "schedule") {
|
||||
return toMatrixItems(suites);
|
||||
}
|
||||
|
||||
if (eventName !== "pull_request") {
|
||||
return toMatrixItems(suites);
|
||||
return [];
|
||||
}
|
||||
|
||||
const smokeSuites = suites.filter((suite) => suite.lane === "smoke");
|
||||
|
||||
Reference in New Issue
Block a user