Skip to content

Commit

Permalink
Merge pull request #20 from com-pas/develop
Browse files Browse the repository at this point in the history
Create POC Version to test integration with all components
  • Loading branch information
Dennis Labordus authored Dec 9, 2021
2 parents b61b85a + 5600fcd commit f4bfa2a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
- name: Build Native with Maven
if: ${{ github.event_name == 'pull_request' }}
run: ./mvnw -s custom_maven_settings.xml -B clean verify -Pnative
run: ./mvnw -s custom_maven_settings.xml -B -Pnative clean verify
- name: Build with Maven
if: ${{ github.event_name == 'push' }}
run: ./mvnw -s custom_maven_settings.xml -B clean verify
1 change: 1 addition & 0 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ SPDX-License-Identifier: Apache-2.0
<properties>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.container-build>true</quarkus.native.container-build> <!-- Allows for creating a Linux executable without GraalVM being installed -->
<quarkus.container-image.build>true</quarkus.container-image.build> <!-- Also make a Docker Image, so the native test will be executed against the container -->
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// SPDX-License-Identifier: Apache-2.0
package org.lfenergy.compas.scl.auto.alignment.rest;

import io.quarkus.test.junit.NativeImageTest;
import io.quarkus.test.junit.QuarkusIntegrationTest;

@NativeImageTest
@QuarkusIntegrationTest
class NativeHealthCheckIT extends HealthCheckTest {
// Execute the same tests but in native mode.
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SPDX-License-Identifier: Apache-2.0

<compas.core.version>0.6.0</compas.core.version>

<quarkus.platform.version>2.5.1.Final</quarkus.platform.version>
<quarkus.platform.version>2.4.2.Final</quarkus.platform.version>
<slf4j.version>1.7.32</slf4j.version>
<powsybl.sld.version>2.5.1</powsybl.sld.version>
<gson.version>2.8.9</gson.version>
Expand Down

0 comments on commit f4bfa2a

Please sign in to comment.