From b9a5c2dc8db3c0090a94c2b47ade9fdbb0bc1ea5 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 24 Sep 2024 23:11:12 +0200 Subject: [PATCH] Skip tests when building native images. --- .github/workflows/graalpy-micronaut-guide.yml | 2 +- .github/workflows/graalpy-spring-boot-guide.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/graalpy-micronaut-guide.yml b/.github/workflows/graalpy-micronaut-guide.yml index 2709101e..8b31ca9d 100644 --- a/.github/workflows/graalpy-micronaut-guide.yml +++ b/.github/workflows/graalpy-micronaut-guide.yml @@ -35,7 +35,7 @@ jobs: - name: Build and run native 'graalpy-micronaut-guide' using Maven run: | cd graalpy/graalpy-micronaut-guide - ./mvnw --no-transfer-progress clean package -Dpackaging=native-image + ./mvnw --no-transfer-progress clean package -DskipTests -Dpackaging=native-image ./target/demo & sleep 20 curl -s -D - -o /dev/null http://localhost:8080/ diff --git a/.github/workflows/graalpy-spring-boot-guide.yml b/.github/workflows/graalpy-spring-boot-guide.yml index 4221843d..a83cbf89 100644 --- a/.github/workflows/graalpy-spring-boot-guide.yml +++ b/.github/workflows/graalpy-spring-boot-guide.yml @@ -35,7 +35,7 @@ jobs: - name: Build and run native 'graalpy-spring-boot-guide' using Maven run: | cd graalpy/graalpy-spring-boot-guide - ./mvnw --no-transfer-progress clean -Pnative native:compile + ./mvnw --no-transfer-progress clean -DskipTests -Pnative native:compile ./target/demo & sleep 20 curl -s -D - -o /dev/null http://localhost:8080/