Fix race condition and silent failures in LazyMessageBody decoding #1169
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: Testbeds | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-jdk8: | |
| runs-on: ubuntu-latest | |
| env: | |
| DATE_FILE: ./date.txt | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '8' | |
| distribution: 'temurin' | |
| - name: Run Maven install | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk8-${{ steps.get-date.outputs.date }} | |
| build-jdk11: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Run Maven install | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk11-${{ steps.get-date.outputs.date }} | |
| build-jdk17: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Run Maven install | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk17-${{ steps.get-date.outputs.date }} | |
| build-jdk21: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Run Maven install | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests install | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk21-${{ steps.get-date.outputs.date }} | |
| build-testbeds-jdk11: | |
| needs: build-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the testbeds install | |
| # run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests clean install # disable malspp for now | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
| working-directory: testbeds | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| build-testbeds-jdk17: | |
| needs: build-jdk17 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk17-${{ steps.get-date.outputs.date }} | |
| - name: Run the testbeds install | |
| # run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests clean install # disable malspp for now | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
| working-directory: testbeds | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk17-${{ steps.get-date.outputs.date }} | |
| build-testbeds-jdk21: | |
| needs: build-jdk21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-services-java-jdk21-${{ steps.get-date.outputs.date }} | |
| - name: Run the testbeds install | |
| # run: mvn --batch-mode --update-snapshots -pl '!testbed-malspp-framework,!testbed-malspp' -P ESA -DskipTests install # disable malspp for now | |
| run: mvn --batch-mode --update-snapshots -P ESA -DskipTests clean install | |
| working-directory: testbeds | |
| - name: Cache Maven local repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk21-${{ steps.get-date.outputs.date }} | |
| testbed-mal-jdk11-rmi: | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-mal | |
| - name: Upload report for MAL testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mal-jdk11-report-rmi | |
| path: testbeds/testbed-mal/target/surefire-reports/ | |
| testbed-mal-jdk11-tcpip: | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL | |
| run: mvn --batch-mode --update-snapshots -P ESA_TCPIP test | |
| working-directory: testbeds/testbed-mal | |
| - name: Upload report for MAL testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mal-jdk11-report-tcpip | |
| path: testbeds/testbed-mal/target/surefire-reports/ | |
| testbed-mal-jdk11-http: | |
| if: ${{ false }} # disable for now | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| java-package: jdk | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL | |
| run: mvn --batch-mode --update-snapshots -P ESA_HTTP test | |
| working-directory: testbeds/testbed-mal | |
| - name: Upload report for MAL testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mal-jdk11-report-http | |
| path: testbeds/testbed-mal/target/surefire-reports/ | |
| testbed-mal-jdk11-zmtp: | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL | |
| run: mvn --batch-mode --update-snapshots -P ESA_ZMTP test | |
| working-directory: testbeds/testbed-mal | |
| - name: Upload report for MAL testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mal-jdk11-report-zmtp | |
| path: testbeds/testbed-mal/target/surefire-reports/ | |
| testbed-mal-jdk17: | |
| needs: build-testbeds-jdk17 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk17-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-mal | |
| - name: Upload report for MAL testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mal-jdk17-report | |
| path: testbeds/testbed-mal/target/surefire-reports/ | |
| testbed-mal-jdk21: | |
| needs: build-testbeds-jdk21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk21-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-mal | |
| - name: Upload report for MAL testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mal-jdk21-report | |
| path: testbeds/testbed-mal/target/surefire-reports/ | |
| testbed-com-jdk11: | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for COM | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-com | |
| - name: Upload report for COM testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-com-jdk11-report | |
| path: testbeds/testbed-com/target/surefire-reports/ | |
| testbed-mpd-jdk11: | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MPD | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-mpd | |
| - name: Upload report for MPD testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mpd-jdk11-report | |
| path: testbeds/testbed-mpd/target/surefire-reports/ | |
| testbed-mpd-jdk17: | |
| needs: build-testbeds-jdk17 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk17-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MPD | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-mpd | |
| - name: Upload report for MPD testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mpd-jdk17-report | |
| path: testbeds/testbed-mpd/target/surefire-reports/ | |
| testbed-mpd-jdk21: | |
| needs: build-testbeds-jdk21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk21-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MPD | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-mpd | |
| - name: Upload report for MPD testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-mpd-jdk21-report | |
| path: testbeds/testbed-mpd/target/surefire-reports/ | |
| testbed-com-jdk17: | |
| needs: build-testbeds-jdk17 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk17-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for COM | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-com | |
| - name: Upload report for COM testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-com-jdk17-report | |
| path: testbeds/testbed-com/target/surefire-reports/ | |
| testbed-com-jdk21: | |
| needs: build-testbeds-jdk21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk21-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for COM | |
| run: mvn --batch-mode --update-snapshots -P ESA test | |
| working-directory: testbeds/testbed-com | |
| - name: Upload report for COM testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-com-jdk21-report | |
| path: testbeds/testbed-com/target/surefire-reports/ | |
| testbed-malspp-jdk11: | |
| if: ${{ false }} # disable for now | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL/SPP | |
| run: mvn --batch-mode --update-snapshots -P DLR test | |
| working-directory: testbeds/testbed-malspp | |
| - name: Upload report for MAL/SPP testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-malspp-jdk11-report | |
| path: testbeds/testbed-malspp/target/surefire-reports/ | |
| testbed-malspp-jdk17: | |
| if: ${{ false }} # disable for now | |
| needs: build-testbeds-jdk17 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk17-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL/SPP | |
| run: mvn --batch-mode --update-snapshots -P DLR test | |
| working-directory: testbeds/testbed-malspp | |
| - name: Upload report for MAL/SPP testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-malspp-jdk17-report | |
| path: testbeds/testbed-malspp/target/surefire-reports/ | |
| testbed-malspp-jdk21: | |
| if: ${{ false }} # disable for now | |
| needs: build-testbeds-jdk21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk21-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for MAL/SPP | |
| run: mvn --batch-mode --update-snapshots -P DLR test | |
| working-directory: testbeds/testbed-malspp | |
| - name: Upload report for MAL/SPP testbed | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: testbed-malspp-jdk21-report | |
| path: testbeds/testbed-malspp/target/surefire-reports/ | |
| testbed-encoders-jdk11: | |
| needs: build-testbeds-jdk11 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk11-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for Encoders | |
| run: mvn --batch-mode --update-snapshots test | |
| working-directory: testbeds/testbed-encoders | |
| testbed-encoders-jdk17: | |
| needs: build-testbeds-jdk17 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk17-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for Encoders | |
| run: mvn --batch-mode --update-snapshots test | |
| working-directory: testbeds/testbed-encoders | |
| testbed-encoders-jdk21: | |
| needs: build-testbeds-jdk21 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Date | |
| id: get-date | |
| run: | | |
| echo "date=$(/bin/date -u "+%Y-week-%U")" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Restore Maven local repository from cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-mo-testbeds-jdk21-${{ steps.get-date.outputs.date }} | |
| - name: Run the Testbed for Encoders | |
| run: mvn --batch-mode --update-snapshots test | |
| working-directory: testbeds/testbed-encoders | |