Skip to content

Commit

Permalink
run maven tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Sep 16, 2022
1 parent 4074a73 commit f6d2202
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ on:
branches: [ master ]

jobs:
build:

build-gateway:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
Expand All @@ -22,12 +20,48 @@ jobs:
java-version: 11
- name: Build Gateway service
run: mvn -B verify -Dangular.env=qa -Pprod --file gateway/pom.xml

build-user-service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build User service
run: mvn -B verify -Pprod --file user-service/pom.xml

build-assertion-service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build Assertion service
run: mvn -B verify -Pprod --file assertion-service/pom.xml

build-member-service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build Member service
run: mvn -B verify -Pprod --file member-service/pom.xml

build-discovery-service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build Discovery service
run: mvn -B verify -Pprod --file discovery-service/pom.xml

0 comments on commit f6d2202

Please sign in to comment.