This is an automated email from the ASF dual-hosted git repository. vy pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit e5a603ccbee7ba6c96176665e913462591664e7c Author: Volkan Yazıcı <[email protected]> AuthorDate: Fri Feb 17 11:47:54 2023 +0100 Separate build & checks in CI --- .github/workflows/build.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5cf4a66c1..f3d83d21cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,19 +56,18 @@ jobs: # For details, see: https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility # 2. `javadoc:javadoc-no-fork`, which is attached to the `site` goal - name: Build - timeout-minutes: 60 + timeout-minutes: 10 shell: bash run: | ./mvnw \ --show-version --batch-mode --errors --no-transfer-progress \ - -DtrimStackTrace=false \ - -Dsurefire.rerunFailingTestsCount=2 \ - -Dlog4j2.junit.fileCleanerSleepPeriodMillis=1000 \ + -DskipTests=true \ clean install # `clean verify artifact:compare` is required to generate the build reproducibility report. # For details, see: https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility - name: Report build reproducibility + timeout-minutes: 10 shell: bash run: | ./mvnw \ @@ -87,6 +86,17 @@ jobs: fi done + - name: Maven "verify" + timeout-minutes: 60 + shell: bash + run: | + ./mvnw \ + --show-version --batch-mode --errors --no-transfer-progress \ + -DtrimStackTrace=false \ + -Dsurefire.rerunFailingTestsCount=2 \ + -Dlog4j2.junit.fileCleanerSleepPeriodMillis=1000 \ + verify + - name: Maven "site" timeout-minutes: 10 shell: bash
