From 9de192dff72c2a53afef913a634f2ccc40ca8d05 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 31 Dec 2022 13:39:56 +0100 Subject: [PATCH] Run GH verification build on Windows too Fixes https://github.com/eclipse-m2e/m2e-core/issues/1080 --- .github/workflows/maven.yml | 8 ++++++-- m2e-parent/pom.xml | 12 ++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c1b9939385..870fbcf88b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} timeout-minutes: 45 @@ -43,7 +43,11 @@ jobs: - name: Build m2e-core uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 with: - run: mvn clean verify --batch-mode -Pits -Dtycho.p2.baselineMode=failCommon -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true + run: >- + mvn clean verify --batch-mode -Pits + -Dtycho.p2.baselineMode=failCommon + -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true + -Dtycho.surefire.deleteWorkDir=true - name: Upload Test Results uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: diff --git a/m2e-parent/pom.xml b/m2e-parent/pom.xml index c35f0d8368..a41753006e 100644 --- a/m2e-parent/pom.xml +++ b/m2e-parent/pom.xml @@ -239,6 +239,18 @@ + + windows + + + windows + + + + + true + +