-
Notifications
You must be signed in to change notification settings - Fork 63
43 lines (36 loc) · 1.14 KB
/
service-registration.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
41
42
43
name: Verify that all services can register
on:
push:
branches: [ v2.x.x, v3.x.x ]
paths-ignore:
- '**.md'
pull_request:
branches: [ v2.x.x, v3.x.x ]
paths-ignore:
- '**.md'
workflow_dispatch:
env:
JOB_ID: ${{ github.run_id }}-${{ github.run_number }}
jobs:
BuildAndTest:
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: ./.github/actions/setup
- name: Build with Gradle
run: >
./gradlew clean build --info --scan
- name: Run startup check
run: >
./gradlew runStartUpCheck --info --scan -Denvironment.startServices=true
- name: Store results
uses: actions/upload-artifact@v4
if: always()
with:
name: CITests-${{ env.JOB_ID }}
path: |
*/build/reports/**
- uses: ./.github/actions/teardown