Skip to content

Commit

Permalink
Add packaging tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tvallin committed Dec 17, 2024
1 parent 470a586 commit d9107c2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,12 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-20.04, macos-14, windows-2022 ]
packaging: [ jar, jlink ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: macos-14, platform: macos }
# - { os: windows-2022, platform: windows }
- { os: windows-2022, platform: windows }
runs-on: ${{ matrix.os }}
name: tests/packaging-${{ matrix.packaging }}-${{ matrix.platform }}
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import io.helidon.tests.integration.harness.ProcessRunner.ExecMode;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

class InjectJlinkTestIT extends InjectPackagingTestIT {

Expand All @@ -27,11 +29,13 @@ ExecMode execMode() {
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testExitOnStarted() {
doTestExitOnStarted();
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testWebClientService() {
doTestWebClientService();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import io.helidon.tests.integration.harness.ProcessRunner.ExecMode;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

class Mp1JlinkTestIT extends Mp1PackagingTestIT {

Expand All @@ -27,6 +29,7 @@ ExecMode execMode() {
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testApp() {
doTestApp();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import io.helidon.tests.integration.harness.ProcessRunner.ExecMode;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

class Mp3JlinkTestIT extends Mp3PackagingTestIT {

Expand All @@ -27,11 +29,13 @@ ExecMode execMode() {
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testExitOnStarted() {
doTestExitOnStarted();
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testGreetResource() {
doTestGreetResource();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import io.helidon.tests.integration.harness.ProcessRunner.ExecMode;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;

class Se1JlinkTestIT extends Se1PackagingTestIT {

Expand All @@ -27,11 +29,13 @@ ExecMode execMode() {
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testExitOnStarted() {
doTestExitOnStarted();
}

@Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "application is not a valid Win32 application")
void testWebClientService() {
doTestWebClientService();
}
Expand Down

0 comments on commit d9107c2

Please sign in to comment.