Akron | 274d7c4 | 2022-11-16 15:01:45 +0100 | [diff] [blame] | 1 | name: CI + Coverage Test |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ubuntu-latest |
| 8 | steps: |
| 9 | - name: Checkout Krill |
margaretha | 0086506 | 2024-01-11 12:39:07 +0100 | [diff] [blame] | 10 | uses: actions/checkout@v4 |
Marc Kupietz | 06faa91 | 2024-02-20 06:47:05 +0100 | [diff] [blame^] | 11 | with: |
| 12 | path: Krill |
| 13 | |
| 14 | - name: Checkout Kustvakt |
| 15 | uses: actions/checkout@v4 |
| 16 | with: |
| 17 | repository: KorAP/Kustvakt |
| 18 | path: Kustvakt |
| 19 | |
| 20 | - name: Checkout Koral |
| 21 | uses: actions/checkout@v4 |
| 22 | with: |
| 23 | repository: KorAP/Koral |
| 24 | path: Koral |
Akron | 274d7c4 | 2022-11-16 15:01:45 +0100 | [diff] [blame] | 25 | |
Akron | 8d13d20 | 2024-01-11 11:45:17 +0100 | [diff] [blame] | 26 | - name: Set up JDK 17 |
margaretha | 8fba38a | 2024-01-12 09:35:05 +0100 | [diff] [blame] | 27 | uses: actions/setup-java@v4 |
Akron | 274d7c4 | 2022-11-16 15:01:45 +0100 | [diff] [blame] | 28 | with: |
margaretha | 8fba38a | 2024-01-12 09:35:05 +0100 | [diff] [blame] | 29 | distribution: 'temurin' |
Akron | 8d13d20 | 2024-01-11 11:45:17 +0100 | [diff] [blame] | 30 | java-version: 17 |
Marc Kupietz | 06faa91 | 2024-02-20 06:47:05 +0100 | [diff] [blame^] | 31 | cache: 'maven' |
| 32 | |
Akron | 274d7c4 | 2022-11-16 15:01:45 +0100 | [diff] [blame] | 33 | |
| 34 | - name: Build and install Krill |
Marc Kupietz | 06faa91 | 2024-02-20 06:47:05 +0100 | [diff] [blame^] | 35 | run: mvn --file Krill/pom.xml install |
| 36 | |
| 37 | - name: Build and install Koral |
| 38 | run: mvn --file Koral/pom.xml install |
| 39 | |
| 40 | - name: Build and package Kustvakt full |
| 41 | run: mvn --file Kustvakt/pom.xml package |