-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64f1222
commit 33b34bb
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: CI for Testing | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
|
||
#-------------------------------# | ||
# Data-Manager Microservice # | ||
#-------------------------------# | ||
|
||
test_data_manager: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'corretto' | ||
cache: maven | ||
|
||
- name: Run Maven Tests | ||
run: cd data-manager/ && mvn -B clean package | ||
|
||
#-----------------------------------# | ||
# Identity-Manager Microservice # | ||
#-----------------------------------# | ||
|
||
test_idm: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'corretto' | ||
cache: maven | ||
|
||
- name: Run Maven Tests | ||
run: cd identity-manager/ && mvn -B clean package | ||
|
||
#--------------------------# | ||
# Monitor Microservice # | ||
#--------------------------# | ||
|
||
test_monitor: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'corretto' | ||
cache: maven | ||
|
||
- name: Run Maven Tests | ||
run: cd monitor/ && mvn -B clean package -DskipTests |