Tibor17 commented on a change in pull request #422:
URL: https://github.com/apache/maven-surefire/pull/422#discussion_r777121785



##########
File path: .github/workflows/maven-verify.yml
##########
@@ -15,19 +15,49 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: Verify
+name: GitHub CI
 
 on:
   push:
     branches-ignore:
       - dependabot/**
   pull_request:
 
+
 jobs:
   build:
-    name: Verify
-    uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
-    with:
-      ff-goal: 'install'
-      verify-goal: 'install -P run-its'
-      verify-fail-fast: false
+
+    strategy:
+      matrix:
+        os: [ubuntu-latest, windows-latest, macOS-latest]
+        java: [8, 11, 17]
+        jdk: [temurin]
+      fail-fast: false
+
+    runs-on: ${{ matrix.os }}
+    timeout-minutes: 120
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v1
+
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/[email protected]
+        with:
+          distribution: ${{ matrix.jdk }}
+          java-version: ${{ matrix.java }}
+          cache: 'maven'
+
+      - name: Build with Maven
+        run: mvn clean install -e -B -V -nsu --no-transfer-progress -P run-its 
-Dfailsafe-integration-test-port=8083
+
+      - 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/failsafe-reports

Review comment:
       The commit message is `investigating`. The commit does not mean anything 
for this Jira issue. We are discussing the timeout in the Slack/INFRA channel 
and I need to get the archive of `surefire-its/target` with all the dump files 
and logs. This was happening one year ago and I came over this problem by 
splitting the test set in two. Currently I am waiting for the build to complete 
and I hope the archive files would appear in the attachment. Then I want to go 
inside and analyse the logs and test content.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to