Currency release update #1069
Workflow file for this run
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-regression-tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| runtime: [ linux, mac, windows ] | |
| targetPlatform: [ 4Q2025 ] | |
| include: | |
| - runtime: linux | |
| os: ubuntu-latest | |
| - runtime: mac | |
| os: macOS-latest | |
| - runtime: windows | |
| os: windows-latest | |
| name: Build Plugin | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| # Checkout the eclipse plugin repository. | |
| - name: 'Setup: Checkout plugin' | |
| uses: actions/checkout@v2 | |
| # Restore Maven and Tycho dependencies cache | |
| - name: 'Cache: Maven and Tycho repository (restore)' | |
| uses: actions/cache/restore@v4 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| !~/.m2/repository/io/openliberty/tools/eclipse | |
| key: ${{ runner.os }}-maven-tycho-${{ hashFiles('pom.xml', '.mvn/**', 'releng/**') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven-tycho- | |
| # Restore Gradle dependencies cache | |
| - name: 'Cache: Gradle (restore)' | |
| uses: actions/cache/restore@v4 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| # Restore downloaded tools cache (JDK, Maven, Gradle) | |
| - name: 'Cache: Downloaded tools (restore)' | |
| uses: actions/cache/restore@v4 | |
| with: | |
| path: test-tools/liberty-dev-tools | |
| key: ${{ runner.os }}-tools-jdk21.0.3-maven3.9.6-gradle8.8 | |
| restore-keys: | | |
| ${{ runner.os }}-tools- | |
| # Install the required software. | |
| - name: 'Setup: Install required software' | |
| run: bash ./tests/resources/ci/scripts/setup.sh | |
| # Build the plugin. | |
| - name: 'Build: Build-Package-RunTests' | |
| run: bash ./tests/resources/ci/scripts/exec.sh ${{ matrix.targetPlatform }} | |
| # Collect logs | |
| - run: | | |
| mkdir logs | |
| find tests -type f -name "lte-dev-mode-output-*.log" -exec cp {} logs \; | |
| if: failure() | |
| # save logs | |
| - name: Upload Logs | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: test-app-logs | |
| path: logs | |
| # Save Maven and Tycho dependencies cache (even on failure) | |
| - name: 'Cache: Maven and Tycho repository (save)' | |
| uses: actions/cache/save@v4 | |
| if: always() | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| !~/.m2/repository/io/openliberty/tools/eclipse | |
| key: ${{ runner.os }}-maven-tycho-${{ hashFiles('pom.xml', '.mvn/**', 'releng/**') }} | |
| # Save Gradle dependencies cache (even on failure) | |
| - name: 'Cache: Gradle (save)' | |
| uses: actions/cache/save@v4 | |
| if: always() | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| # Save downloaded tools cache (even on failure) | |
| - name: 'Cache: Downloaded tools (save)' | |
| uses: actions/cache/save@v4 | |
| if: always() | |
| with: | |
| path: test-tools/liberty-dev-tools | |
| key: ${{ runner.os }}-tools-jdk21.0.3-maven3.9.6-gradle8.8 |