Skip to content

Commit 7de2cb2

Browse files
committed
Tried to add testing
1 parent 02716fd commit 7de2cb2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/maven-deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
with:
2323
java-version: 1.8
2424
- name: Build
25-
run: mvn -B package --file pom.xml
25+
run: mvn -B package -Dmaven.test.skip=true
26+
- name: Test
27+
run: mvn -B test
2628
env:
2729
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
2830
MYSQL_USERNAME: test
2931
MYSQL_PASSWORD: test
3032
- name: Deploy to JavaWebStack Repository
31-
run: mvn deploy -s build/settings.xml
33+
run: mvn deploy -B -s build/settings.xml -Dmaven.test.skip=true
3234
env:
3335
DEPLOYMENT_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }}
3436
DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }}

0 commit comments

Comments
 (0)