Added surefire and failsafe plugins

This commit is contained in:
Amith Koujalgi
2023-12-14 17:30:14 +05:30
parent 9e1fc52ba2
commit afb8d21747
7 changed files with 321 additions and 140 deletions

View File

@@ -28,7 +28,7 @@ jobs:
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn -U -B clean package --file pom.xml
run: mvn --file pom.xml -U clean package
- name: Run Tests
run: mvn -U clean verify --file pom.xml
run: mvn --file pom.xml -U clean test -Punit-tests

View File

@@ -34,7 +34,7 @@ jobs:
# run: mvn -U clean verify --file pom.xml
- name: Build with Maven
run: mvn -U -B clean verify package --file pom.xml
run: mvn --file pom.xml -U clean package -Punit-tests
- name: Set up Apache Maven Central (Overwrite settings.xml)
uses: actions/setup-java@v3

View File

@@ -39,7 +39,7 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn -U -B clean package --file pom.xml
run: mvn --file pom.xml -U clean package
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact