-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (40 loc) · 993 Bytes
/
main.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: Application CI
on:
push:
branches:
- '!main'
concurrency:
group: application-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
gradle:
name: 'Gradle Wrapper Validation'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
k6-report-ingress:
name: 'App: k6-report-ingress'
runs-on: ubuntu-latest
env:
SPRING_OUTPUT_ANSI_ENABLED: DETECT
SPRING_JPA_SHOW_SQL: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build & Test
run: ./gradlew :apps:k6-report-ingress:build
cli:
name: 'cli'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
working-directory: cli
run: cargo build --verbose
- name: Run tests
working-directory: cli
run: cargo test --verbose