Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 7907292

Browse files
authored
Update unit-test.yml
1 parent 83908d3 commit 7907292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
curl -s "https://get.sdkman.io" | bash
2222
source "$HOME/.sdkman/bin/sdkman-init.sh"
2323
sdk install groovy
24+
source "$HOME/.sdkman/bin/sdkman-init.sh" && groovy -version # Verify installation
2425
2526
- name: Run All Tests
2627
run: |
2728
# Ensure the test directory is set up correctly
2829
echo "Running all Groovy tests..."
29-
30+
source "$HOME/.sdkman/bin/sdkman-init.sh" # Ensure SDKMAN! is sourced
3031
# Run all Groovy test files in the 'test' directory
3132
find ./test -name '*.groovy' | while read testFile; do
3233
echo "Running $testFile..."
3334
groovy "$testFile"
3435
done
35-
3636
echo "All tests executed!"

0 commit comments

Comments
 (0)