break out integration testing into a separate job
@@ -37,9 +37,7 @@ jobs:
- name: Build All Variants
run: mvn clean install -Pprod -Pjpa -Pinfinispan -Pkafka -Pstreams -Pasyncmem -DskipTests
- name: Verify (Standard)
- run: mvn test package -Pprod -Pjpa
- - name: Run QE Tests
- run: mvn verify -Pall -pl tests -Dmaven.javadoc.skip=true
+ run: mvn test package -Pprod -Pjpa -Pasyncmem
- name: Login to DockerHub Registry
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
@@ -62,4 +60,26 @@ jobs:
docker push apicurio/apicurio-registry-kafka:latest-snapshot
docker push apicurio/apicurio-registry-streams:latest-snapshot
docker push apicurio/apicurio-registry-asyncmem:latest-snapshot
+ integration-tests:
+ name: Integration Tests
+ runs-on: ubuntu-latest
+ if: github.repository_owner == 'Apicurio'
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v2
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Cache Dependencies
+ uses: actions/cache@v1
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+ - name: Build All Variants
+ run: mvn clean install -Pprod -Pjpa -Pinfinispan -Pkafka -Pstreams -Pasyncmem -DskipTests
+ - name: Run Integration Tests
+ run: mvn verify -Pall -pl tests -Dmaven.javadoc.skip=true
\ No newline at end of file
