mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
ci: reorganize project scripts and E2E workflows by type
This commit is contained in:
@@ -363,7 +363,7 @@ jobs:
|
||||
GITHUB_BASE_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
|
||||
GITHUB_HEAD_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
||||
run: |
|
||||
MATRIX=$(node scripts/test/select-e2e-suites-json.mjs)
|
||||
MATRIX=$(node scripts/e2e/select-matrix.mjs)
|
||||
echo "matrix=$(echo "$MATRIX" | jq -c .)" >> "$GITHUB_OUTPUT"
|
||||
echo "selected_suites=$(echo "$MATRIX" | jq -c .)"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
suite-id:
|
||||
description: "E2E suite id from scripts/test/e2e-suites.mjs (e.g. scanner-scenarios)"
|
||||
description: "E2E suite id from scripts/e2e/suite-registry.mjs (e.g. scanner-scenarios)"
|
||||
required: true
|
||||
type: string
|
||||
check-name:
|
||||
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
- name: Build matrix
|
||||
id: build
|
||||
shell: bash
|
||||
run: echo "matrix=$(node scripts/test/list-suites-json.mjs)" >> "$GITHUB_OUTPUT"
|
||||
run: echo "matrix=$(node scripts/e2e/list-matrix.mjs)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
e2e:
|
||||
needs: setup
|
||||
|
||||
Reference in New Issue
Block a user