-
Notifications
You must be signed in to change notification settings - Fork 40.7k
40 lines (40 loc) · 1.3 KB
/
run-system-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }}
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:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
java-version: ${{ matrix.java.version }}
java-toolchain: ${{ matrix.java.toolchain }}
- name: Run System Tests
id: run-system-tests
shell: bash
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) }}