aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2020-08-16 21:41:46 -0700
committerGitHub <noreply@github.com>2020-08-16 21:41:46 -0700
commitb3a4a5f5d2acf9efb28394adcc69f3e2db204df3 (patch)
tree8e685aa6fa7b660154d8bd8219d20bbc7ef9efe7
parent9e794ed21cd5e1435c129628021cf46149898524 (diff)
parentfbeea7db4756ea35ab08e7c094133cd26f7089b4 (diff)
downloadaspectj-b3a4a5f5d2acf9efb28394adcc69f3e2db204df3.tar.gz
aspectj-b3a4a5f5d2acf9efb28394adcc69f3e2db204df3.zip
Merge pull request #18 from larsgrefer/feature/github-actionsV1_9_7M1
Split tests in a separate step on GitHub Actions
-rw-r--r--.github/workflows/maven.yml28
1 files changed, 18 insertions, 10 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 4657a3dec..2503a65a8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -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