Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cspell/code-terms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classdef
classdefid
classentity
classname
CODEOWNERS
COLONSEP
COMPOSIT_STATE
concat
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ jobs:
| node scripts/e2e-diagram-scope.mjs \
|| echo "")

if [ -n "$SPEC" ]; then
if [ "$SPEC" = "SKIP" ]; then
echo "spec_pattern=SKIP" >> "$GITHUB_OUTPUT"
echo "matrix=${SCOPED_MATRIX}" >> "$GITHUB_OUTPUT"
echo "[detect-scope] Only docs/ignorable files changed — e2e can be skipped."
elif [ -n "$SPEC" ]; then
echo "spec_pattern=${SPEC}" >> "$GITHUB_OUTPUT"
echo "matrix=${SCOPED_MATRIX}" >> "$GITHUB_OUTPUT"
echo "[detect-scope] Scoped to: ${SPEC}"
Expand All @@ -161,6 +165,8 @@ jobs:
E2E_SCOPE_BY_DIAGRAM: "${{ vars.E2E_SCOPE_BY_DIAGRAM == 'true' }}"

e2e:
# Skip the entire e2e job when only docs/ignorable files changed.
if: needs.detect-scope.outputs.spec_pattern != 'SKIP'
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-20.16.0-chrome-127.0.6533.88-1-ff-128.0.3-edge-127.0.2651.74-1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"devDependencies": {
"@applitools/eyes-cypress": "^3.56.5",
"@argos-ci/cypress": "^6.2.2",
"@argos-ci/cypress": "^6.2.12",
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@cspell/eslint-plugin": "^9.3.2",
Expand Down
Loading
Loading