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 22:18:43 UTC
[maven-surefire] 01/03: [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 df5f2afa926eee7d66918c0cb2f724e546327ff4
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 | 17 ++++++++++++++++-
.github/workflows/maven-windows-it2.yml | 17 ++++++++++++++++-
.github/workflows/maven.yml | 17 ++++++++++++++++-
.github/workflows/smoketest.yml | 8 +++++++-
4 files changed, 55 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/maven-windows-it1.yml b/.github/workflows/maven-windows-it1.yml
index 4679153..1dfd36a 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,12 @@ 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-preview
+ #if: failure()
+ with:
+ name: ${{ matrix.os }}-surefire-its
+ path: |
+ surefire-its/target/**/*
+ !surefire-its/target/*SUREFIRE-1617
diff --git a/.github/workflows/maven-windows-it2.yml b/.github/workflows/maven-windows-it2.yml
index 58a04c1..01dd20b 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,12 @@ 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-preview
+ #if: failure()
+ with:
+ name: ${{ matrix.os }}-surefire-its
+ path: |
+ surefire-its/target/**/*
+ !surefire-its/target/*SUREFIRE-1617
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d0c9786..4d6fec8 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,12 @@ 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-preview
+ #if: failure()
+ with:
+ name: ${{ matrix.os }}-surefire-its
+ path: |
+ surefire-its/target/**/*
+ !surefire-its/target/*SUREFIRE-1617
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: