[github] Upload artifact surefire-its
diff --git a/.github/workflows/maven-windows-it1.yml b/.github/workflows/maven-windows-it1.yml
index 4679153..17164ed 100644
--- a/.github/workflows/maven-windows-it1.yml
+++ b/.github/workflows/maven-windows-it1.yml
@@ -17,12 +17,21 @@
name: GitHub CI for Windows 1
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - '**'
+ pull_request:
+ branches:
+ - '**'
jobs:
build:
runs-on: windows-latest
+ strategy:
+ fail-fast: false
+
steps:
- name: Checkout
uses: actions/checkout@v1
@@ -34,3 +43,15 @@
- name: Build with Maven
run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its "-Dit.test=**/jiras/*IT*.java,TestMethodPatternIT,TestMultipleMethodPatternsIT,TestMultipleMethodPatternsTestNGIT"
+
+ - name: Upload artifact surefire-its
+ uses: actions/upload-artifact@v2-preview
+ #if: failure()
+ with:
+ name: ${{ matrix.os }}-surefire-its
+ path: |
+ surefire-its/target/*/log.txt
+ surefire-its/target/**/surefire-reports/*
+ surefire-its/target/**/failsafe-reports/*
+ !surefire-its/target/*-1617
+ !surefire-its/target/failsafe-reports
diff --git a/.github/workflows/maven-windows-it2.yml b/.github/workflows/maven-windows-it2.yml
index 58a04c1..3e1f409 100644
--- a/.github/workflows/maven-windows-it2.yml
+++ b/.github/workflows/maven-windows-it2.yml
@@ -17,12 +17,21 @@
name: GitHub CI for Windows 2
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - '**'
+ pull_request:
+ branches:
+ - '**'
jobs:
build:
runs-on: windows-latest
+ strategy:
+ fail-fast: false
+
steps:
- name: Checkout
uses: actions/checkout@v1
@@ -37,3 +46,15 @@
- 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"
+
+ - name: Upload artifact surefire-its
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: ${{ matrix.os }}-surefire-its
+ path: |
+ surefire-its/target/*/log.txt
+ surefire-its/target/**/surefire-reports/*
+ surefire-its/target/**/failsafe-reports/*
+ !surefire-its/target/*-1617
+ !surefire-its/target/failsafe-reports
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d0c9786..41dde5e 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,7 +17,13 @@
name: GitHub CI for *Nix
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - '**'
+ pull_request:
+ branches:
+ - '**'
jobs:
build:
@@ -40,3 +46,15 @@
- name: Build with Maven
run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its
+
+ - name: Upload artifact surefire-its
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: ${{ matrix.os }}-surefire-its
+ path: |
+ surefire-its/target/*/log.txt
+ surefire-its/target/**/surefire-reports/*
+ surefire-its/target/**/failsafe-reports/*
+ !surefire-its/target/*-1617
+ !surefire-its/target/failsafe-reports
diff --git a/.github/workflows/smoketest.yml b/.github/workflows/smoketest.yml
index 7500579..67c17c7 100644
--- a/.github/workflows/smoketest.yml
+++ b/.github/workflows/smoketest.yml
@@ -17,7 +17,13 @@
name: Unit Tests
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - '**'
+ pull_request:
+ branches:
+ - '**'
jobs:
build: