Skip to content

Commit fed0c5d

Browse files
committed
Perform TutorialTest in two phases during CI
1 parent e621eb8 commit fed0c5d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3333

3434
- name: Build with Maven
35-
run: mvn -B verify
35+
run: mvn -B -Dtest='!TutorialTest' verify
3636

3737
- name: Upload code coverage to Codecov
3838
uses: codecov/codecov-action@v1
@@ -67,7 +67,10 @@ jobs:
6767
key: ${{ runner.os }}-${{ matrix.java }}-m2-${{ hashFiles('**/pom.xml') }}
6868

6969
- name: Test with Maven
70-
run: mvn -B test
70+
run: mvn -B -Dtest='!TutorialTest' test
71+
72+
- name: Test with Maven 2
73+
run: mvn -B -Dtest='TutorialTest' test
7174

7275
- name: Upload Surefire reports on test failure
7376
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)