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/07/18 13:23:42 UTC

[maven-surefire] 01/01: [github] Upload artifact surefire-its

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch fastqueue
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 3384916ee8b52cdae2d35e8c340179c15f22daaa
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat Jul 18 14:35:36 2020 +0200

    [github] Upload artifact surefire-its
---
 .github/workflows/maven-windows-it1.yml | 15 ++++++++++++++-
 .github/workflows/maven-windows-it2.yml | 15 ++++++++++++++-
 .github/workflows/maven.yml             | 15 ++++++++++++++-
 .github/workflows/smoketest.yml         |  8 +++++++-
 4 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/maven-windows-it1.yml b/.github/workflows/maven-windows-it1.yml
index 4679153..f2cc0a6 100644
--- a/.github/workflows/maven-windows-it1.yml
+++ b/.github/workflows/maven-windows-it1.yml
@@ -17,7 +17,13 @@
 
 name: GitHub CI for Windows 1
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - '**'
+  pull_request:
+    branches:
+      - '**'
 
 jobs:
   build:
@@ -34,3 +40,10 @@ jobs:
 
       - 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
+        if: failure()
+        with:
+          name: 'surefire-its'
+          path: 'surefire-its/target/'
diff --git a/.github/workflows/maven-windows-it2.yml b/.github/workflows/maven-windows-it2.yml
index 58a04c1..cd3cc06 100644
--- a/.github/workflows/maven-windows-it2.yml
+++ b/.github/workflows/maven-windows-it2.yml
@@ -17,7 +17,13 @@
 
 name: GitHub CI for Windows 2
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - '**'
+  pull_request:
+    branches:
+      - '**'
 
 jobs:
   build:
@@ -37,3 +43,10 @@ jobs:
 
       - 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
+        if: failure()
+        with:
+          name: 'surefire-its'
+          path: 'surefire-its/target/'
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d0c9786..7544499 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,10 @@ jobs:
 
       - 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
+        if: failure()
+        with:
+          name: 'surefire-its'
+          path: 'surefire-its/target/'
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: