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

slachiewicz pushed a commit to branch v1
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


The following commit(s) were added to refs/heads/v1 by this push:
     new f330b6a  Improve verification of site building
f330b6a is described below

commit f330b6a0891abd7eb1df137f1778611d9fb36a42
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Thu Dec 9 19:55:08 2021 +0100

    Improve verification of site building
    
    - add site build to fail-fast-build
    - build site with profile reporting
    - skip test during site build, it is done in the same workspace
      so report from test execution will be present
---
 .github/workflows/maven-verify.yml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven-verify.yml 
b/.github/workflows/maven-verify.yml
index 7d1ea19..71f3208 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -75,6 +75,12 @@ on:
         default: '-P run-its verify'
         type: string
 
+      ff-site-goal:
+        description: The Maven goal used by fail-fast-build job to build site
+        required: false
+        default: '-DskipTests -P reporting site'
+        type: string
+
       verify-goal:
         description: The Maven goal used by verfy jobs
         required: false
@@ -84,7 +90,7 @@ on:
       verify-site-goal:
         description: The Maven goal used by verfy jobs to build site
         required: false
-        default: '-P run-its site'
+        default: '-DskipTests -P reporting site'
         type: string
 
       verify-fail-fast:
@@ -117,6 +123,10 @@ jobs:
       - name: Build with Maven
         run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }} 
${{ inputs.ff-goal }}
 
+      - name: Build Maven Site
+        run: mvn --errors --batch-mode --show-version ${{ inputs.maven_args }} 
${{ inputs.ff-site-goal }}
+
+
   verify:
     needs: fail-fast-build
     name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}
@@ -138,7 +148,8 @@ jobs:
           matrix.os != inputs.ff-os ||
           matrix.jdk != inputs.ff-jdk ||
           matrix.distribution != inputs.ff-jdk-distribution ||
-          inputs.verify-goal != inputs.ff-goal
+          inputs.verify-goal != inputs.ff-goal ||
+          inputs.verify-site-goal != inputs.ff-site-goal
         run: echo ok
 
       - name: Checkout

Reply via email to