Skip to content

Using groovy for test #11

Using groovy for test

Using groovy for test #11

Workflow file for this run

name: Run All Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: '17'
- name: Run All Tests
run: |
# Ensure the test directory is set up correctly
echo "Running all Groovy tests..."
# Run all Groovy test files in the tests directory
for testFile in ./test/*.groovy; do
echo "Running $testFile..."
groovy "$testFile"
done
echo "All tests executed!"