Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Do not skip acceptance tests if the main Dockerfile is changed. (redh…
Browse files Browse the repository at this point in the history
…at-developer#1168)

Signed-off-by: Pavel Macík <[email protected]>
  • Loading branch information
pmacik committed Aug 26, 2022
1 parent 40ff174 commit 2c2846d
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/actions/check-skip-acceptance-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,24 @@ runs:
f.filename.startsWith("build") ||
f.filename.startsWith("config") ||
f.filename.startsWith("controllers") ||
f.filename.startsWith("hack/get-test-namespace") ||
f.filename.startsWith("hack/remove-sbr-finalizers.sh") ||
f.filename.startsWith("hack/test-cleanup.sh") ||
f.filename === "hack/get-test-namespace" ||
f.filename === "hack/remove-sbr-finalizers.sh" ||
f.filename === "hack/test-cleanup.sh" ||
f.filename.startsWith("controllers") ||
f.filename.startsWith("make/acceptance.mk") ||
f.filename.startsWith("make/build.mk") ||
f.filename.startsWith("make/common.mk") ||
f.filename.startsWith("make/release.mk") ||
f.filename.startsWith("make/version.mk") ||
f.filename === "make/acceptance.mk" ||
f.filename === "make/build.mk" ||
f.filename === "make/common.mk" ||
f.filename === "make/release.mk" ||
f.filename === "make/version.mk" ||
f.filename.startsWith("pkg") ||
f.filename.startsWith("test/acceptance") ||
f.filename.startsWith("tools") ||
f.filename.startsWith("vendor") ||
f.filename.startsWith("go.mod") ||
f.filename.startsWith("go.sum") ||
f.filename.startsWith("install.sh") ||
f.filename.startsWith("main.go")
f.filename === "Dockerfile" ||
f.filename === "go.mod" ||
f.filename === "go.sum" ||
f.filename === "install.sh" ||
f.filename === "main.go"
)
fileSet.forEach(i => console.log(" > " + i.status + ": " + i.filename))
overallCount = overallCount + fileSet.length
Expand Down

0 comments on commit 2c2846d

Please sign in to comment.