-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[actions] Add github action to run entirely through maven 3.3.9
In order to show that plugin is compatible with 3.3.9
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Copyright 2011-2020 the original author or authors. | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation; either version 2 | ||
# of the License, or (at your option) any later version. | ||
# | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
|
||
name: Java Integration Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Integration Tests | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 11 | ||
distribution: 'zulu' | ||
- name: Load Maven 3.3.9 | ||
run: ./mvnw org.apache.maven.plugins:maven-wrapper-plugin:3.1.0 -DmavenVersion=3.3.9 | ||
- name: Build Setup | ||
run: ./mvnw clean install -Dmaven.min-version=3.3.9 | ||
- name: Integration Test with Maven | ||
run: ./mvnw -DtestSrc=remote -Prun-its clean install -Dinvoker.parallelThreads=4 |