Skip to content

Commit

Permalink
Update unit-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anaiberta authored Nov 26, 2024
1 parent 83908d3 commit 7907292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install groovy
source "$HOME/.sdkman/bin/sdkman-init.sh" && groovy -version # Verify installation
- name: Run All Tests
run: |
# Ensure the test directory is set up correctly
echo "Running all Groovy tests..."
source "$HOME/.sdkman/bin/sdkman-init.sh" # Ensure SDKMAN! is sourced
# Run all Groovy test files in the 'test' directory
find ./test -name '*.groovy' | while read testFile; do
echo "Running $testFile..."
groovy "$testFile"
done
echo "All tests executed!"

0 comments on commit 7907292

Please sign in to comment.