merge with upstream main 29042026 #4
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: FOOPS! - Test before PR | |
| on: | |
| pull_request: | |
| branches: [ "main" ] # only main??? | |
| workflow_dispatch: | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build and Run Tests with Maven | |
| run: mvn clean test | |
| - name: Upload Test Report | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: target-surefire-reports | |
| path: target/surefire-reports/ |