From 0d5aa7bd9febaa615dbff5d2706c033b891b7c14 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 | 4 ++-- m2e-parent/pom.xml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 315daeedef..c1f049c158 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,7 @@ jobs: - name: Build m2e-core uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 with: - run: mvn clean verify -Pits -Dtycho.p2.baselineMode=failCommon --batch-mode + run: mvn clean verify --batch-mode -Pits -Dtycho.p2.baselineMode=failCommon -Dtycho.surefire.deleteWorkDir=true - name: Upload Test Results uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 with: diff --git a/m2e-parent/pom.xml b/m2e-parent/pom.xml index 08ef804ed9..27eb484b26 100644 --- a/m2e-parent/pom.xml +++ b/m2e-parent/pom.xml @@ -240,6 +240,18 @@ + + windows + + + windows + + + + + true + +