mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '3.2.x'
Closes gh-40448
This commit is contained in:
commit
58073e0e30
45
.github/workflows/run-system-tests.yml
vendored
Normal file
45
.github/workflows/run-system-tests.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: Run System Tests
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
jobs:
|
||||
run-system-tests:
|
||||
name: 'Java ${{ matrix.java.version}}'
|
||||
runs-on: ubuntu22-8-32
|
||||
if: ${{ github.repository == 'spring-projects/spring-boot' }}
|
||||
strategy:
|
||||
matrix:
|
||||
java:
|
||||
- version: 17
|
||||
toolchain: false
|
||||
- version: 21
|
||||
toolchain: true
|
||||
steps:
|
||||
- name: Check Out Code
|
||||
uses: actions/checkout@v4
|
||||
- name: Prepare Gradle Build
|
||||
uses: ./.github/actions/prepare-gradle-build
|
||||
with:
|
||||
java-version: ${{ matrix.java.version }}
|
||||
java-toolchain: ${{ matrix.java.toolchain }}
|
||||
- name: Run System Tests
|
||||
id: run-system-tests
|
||||
shell: bash
|
||||
env:
|
||||
GRADLE_ENTERPRISE_URL: 'https://ge.spring.io'
|
||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
|
||||
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
|
||||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
|
||||
run: |
|
||||
./gradlew systemTest
|
||||
- name: Send Notification
|
||||
uses: ./.github/actions/send-notification
|
||||
if: always()
|
||||
with:
|
||||
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
|
||||
status: ${{ job.status }}
|
||||
build-scan-url: ${{ steps.run-system-tests.outputs.build-scan-url }}
|
||||
run-name: ${{ format('{0} | System Tests | Java {1}', github.ref_name, matrix.java.version) }}
|
Loading…
Reference in New Issue
Block a user