You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/06/22 22:43:23 UTC
[maven-surefire] 06/07: [GH] optimized exec time by splitting in
two Windows containers
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
commit b73edf66abfbee38ab9ac37b68c67f2579541d2c
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Jun 23 00:33:27 2020 +0200
[GH] optimized exec time by splitting in two Windows containers
---
.github/workflows/{maven.yml => maven-windows-it1.yml} | 12 +++---------
.github/workflows/{maven.yml => maven-windows-it2.yml} | 17 +++++++----------
.github/workflows/maven.yml | 4 ++--
3 files changed, 12 insertions(+), 21 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-windows-it1.yml
similarity index 85%
copy from .github/workflows/maven.yml
copy to .github/workflows/maven-windows-it1.yml
index 1cfd2e3..4679153 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-windows-it1.yml
@@ -15,19 +15,13 @@
# specific language governing permissions and limitations
# under the License.
-name: GitHub CI
+name: GitHub CI for Windows 1
on: [push, pull_request]
jobs:
build:
-
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
+ runs-on: windows-latest
steps:
- name: Checkout
@@ -39,4 +33,4 @@ jobs:
java-version: 14
- name: Build with Maven
- run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its
+ run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its "-Dit.test=**/jiras/*IT*.java,TestMethodPatternIT,TestMultipleMethodPatternsIT,TestMultipleMethodPatternsTestNGIT"
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-windows-it2.yml
similarity index 69%
copy from .github/workflows/maven.yml
copy to .github/workflows/maven-windows-it2.yml
index 1cfd2e3..58a04c1 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-windows-it2.yml
@@ -15,19 +15,13 @@
# specific language governing permissions and limitations
# under the License.
-name: GitHub CI
+name: GitHub CI for Windows 2
on: [push, pull_request]
jobs:
build:
-
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
+ runs-on: windows-latest
steps:
- name: Checkout
@@ -38,5 +32,8 @@ jobs:
with:
java-version: 14
- - name: Build with Maven
- run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its
+ - name: Build with Maven with Install
+ run: mvn install -e -B -V -nsu --no-transfer-progress -DskipTests
+
+ - name: Build with Maven without Unit Tests
+ run: mvn install -e -B -V -nsu --no-transfer-progress -rf :surefire-its -P run-its "-Dit.test=!**/jiras/*IT*.java,!TestMethodPatternIT,!TestMultipleMethodPatternsIT,!TestMultipleMethodPatternsTestNGIT"
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1cfd2e3..d0c9786 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-name: GitHub CI
+name: GitHub CI for *Nix
on: [push, pull_request]
@@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
+ os: [ubuntu-latest, macOS-latest]
fail-fast: false
runs-on: ${{ matrix.os }}