Update README.md #54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run-Tests | |
| on: | |
| push: | |
| branches-ignore: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Build & Run Tests (no Tomcat) | |
| run: ant -noinput -buildfile ci-build.xml test | |
| - name: List test result files | |
| if: always() | |
| run: | | |
| echo "=== Checking build/test-results ===" | |
| ls -R build || true | |
| - name: Report test results | |
| if: always() | |
| uses: dorny/test-reporter@v2 | |
| with: | |
| name: Ant Unit Tests | |
| path: "**/test-results/*.xml" | |
| reporter: java-junit |