]> source.dussan.org Git - aspectj.git/commitdiff
Split tests in a separate step on GitHub Actions 18/head
authorLars Grefer <eclipse@larsgrefer.de>
Mon, 17 Aug 2020 01:17:14 +0000 (03:17 +0200)
committerLars Grefer <eclipse@larsgrefer.de>
Mon, 17 Aug 2020 01:17:14 +0000 (03:17 +0200)
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
.github/workflows/maven.yml

index 4657a3dec21fd1cdc83a56b18b0b26556eb52935..2503a65a8dadaacc3d16ff6a032f7afddf295dfa 100644 (file)
@@ -11,19 +11,27 @@ on:
 
 jobs:
   build:
-
     runs-on: ubuntu-latest
     strategy:
       fail-fast: false
       matrix:
         java: [ 8, 11, 14 ]
     steps:
-    - uses: actions/checkout@v2
-    - name: Set up JDK ${{ matrix.java }}
-      uses: actions/setup-java@v1
-      with:
-        java-version: ${{ matrix.java }}
-    - run: java -version
-    - run: ./mvnw --version
-    - name: Build with Maven
-      run: ./mvnw -Daspectj.tests.verbose=false -B package --file pom.xml
+      - uses: actions/checkout@v2
+
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+
+      - name: Print tool versions
+        run: |
+          java -version
+          ./mvnw -B --version
+          ant -version
+
+      - name: Compile code
+        run: ./mvnw -B -DskipTests package --file pom.xml
+
+      - name: Run Tests
+        run: ./mvnw -B -Daspectj.tests.verbose=false verify --file pom.xml