Skip to content

Commit

Permalink
Disable our feature files by default (cekit#66)
Browse files Browse the repository at this point in the history
To prevent these feature files leaking out to all `cekit test` users,
rename them with a ".disabled" suffix. They will still be cloned into
every cekit test run, but will be ignored by behave.

For our GHA tests, re-enable them by renaming to remove the suffix.

Fixes cekit#66.

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Apr 3, 2024
1 parent 7045471 commit ca95cdf
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ubi9-openjdk-17-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ jobs:
STEPSDIR=$(pwd)
git tag v1 # cekit hard-codes using ref v1
cd test
# enable our own scenarios. See #66 for context.
for f in tests/features/*disabled; do mv "$f" "${f/.disabled/}"; done
cekit -v test behave --steps-url file://$STEPSDIR
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ca95cdf

Please sign in to comment.