Skip to content

Commit 33a036e

Browse files
committed
chore(ci): add integration tests
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
1 parent 81745a3 commit 33a036e

6 files changed

Lines changed: 34 additions & 10 deletions

File tree

.github/workflows/integration.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Integration
3+
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
branches:
8+
- main
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
call-shared:
16+
uses: trustification/exhort-integration-tests/.github/workflows/integration.yml@main
17+
with:
18+
language: java
19+
repo-url: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
20+
commit-sha: ${{ github.event.pull_request.head.sha || github.sha }}

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
checks: write
1515
pull-requests: write
1616
env:
17-
MAIN_JAVA_VER: 11
17+
MAIN_JAVA_VER: 17
1818
RUN_PYTHON_BIN: ${{ vars.RUN_PYTHON_BIN }}
1919
strategy:
2020
matrix:
21-
java: [11, 17, 21]
21+
java: [17, 21]
2222
steps:
2323
- name: Checkout sources
2424
uses: actions/checkout@v3

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
fetch-depth: 0
3232

3333

34-
- name: Setup Java 11
35-
uses: actions/setup-java@v3
34+
- name: Setup Java 17
35+
uses: actions/setup-java@v4
3636
with:
3737
distribution: temurin
38-
java-version: 11
38+
java-version: 17
3939
cache: maven
4040

4141
- name: create ssh agent

.github/workflows/stage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Checkout sources
2626
uses: actions/checkout@v3
2727

28-
- name: Setup Java 11
29-
uses: actions/setup-java@v3
28+
- name: Setup Java 17
29+
uses: actions/setup-java@v4
3030
with:
3131
distribution: temurin
32-
java-version: 11
32+
java-version: 17
3333
cache: maven
3434

3535
- name: Get pom specs

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@ dependency-reduced-pom.xml
4141
# Node
4242
node_modules
4343

44+
# Python virtual envs
45+
.venv
46+
4447
# project stuff
4548
http_requests
4649
json_responses
4750
**/.DS_Store
4851
.idea/
52+

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<code.coverage.threshold>81%</code.coverage.threshold>
1717
<mutation.coverage.threshold>50</mutation.coverage.threshold>
1818
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19-
<maven.compiler.release>11</maven.compiler.release>
19+
<maven.compiler.release>17</maven.compiler.release>
2020
<!-- Dependencies -->
2121
<exhort-api.version>1.0.6</exhort-api.version>
2222
<jackson.version>2.15.0</jackson.version>
@@ -30,7 +30,7 @@
3030
<mockito.version>5.17.0</mockito.version>
3131
<!-- Plugins -->
3232
<maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
33-
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
33+
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
3434
<maven-dependency-plugin.version>3.6.0</maven-dependency-plugin.version>
3535
<maven-deploy-plugin.version>3.1.1</maven-deploy-plugin.version>
3636
<maven-enforcer-plugin.version>3.3.0</maven-enforcer-plugin.version>

0 commit comments

Comments
 (0)