forked from holly-cummins/pact-quarkus-sweater-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (52 loc) · 1.29 KB
/
build-test.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Wookie Carpet Demo CI
on:
workflow_dispatch:
push:
branches:
- wookie
paths-ignore:
- '**/images/**'
- '**/*.md'
- '**/*.adoc'
- 'initial-state/**'
- 'prep-demo'
- '.github/dependabot.yml'
pull_request:
branches:
- wookie
paths-ignore:
- '**/images/**'
- '**/*.md'
- '**/*.adoc'
- 'initial-state/**'
- 'prep-demo'
- '.github/dependabot.yml'
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
app:
- architecture-recorder
- carpet-shopper
- weaver
- wookie-tamer
name: "build-test-${{ matrix.app }}"
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: maven
- name: Build and test extension
working-directory: observer-extension
run: ./mvnw -B clean install
- name: Run extension integration tests
working-directory: observer-extension/integration-tests
run: ./mvnw -B clean install
- name: "Build and test ${{ matrix.app }}"
working-directory: ${{ matrix.app }}
run: ./mvnw -B clean verify