chore: re-enable integration tests (#146)
Update test harness and re-enable integration test profile
This commit is contained in:
parent
d7fabaf003
commit
5da918205b
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
${{ runner.os }}-maven-
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn --batch-mode --update-snapshots verify # -P integration-test - add this back once we have a compatible flagd
|
||||
run: mvn --batch-mode --update-snapshots verify -P integration-test
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@e0fbd592d323cb2991fb586fdd260734fcb41fcb
|
||||
|
|
|
|||
7
pom.xml
7
pom.xml
|
|
@ -137,6 +137,13 @@
|
|||
<version>31.1-jre</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>dev.openfeature.contrib.providers</groupId>
|
||||
<artifactId>flagd</artifactId>
|
||||
<version>0.4.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<dependencyManagement>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package dev.openfeature.sdk.integration;
|
|||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
// import dev.openfeature.contrib.providers.flagd.FlagdProvider;
|
||||
import dev.openfeature.contrib.providers.flagd.FlagdProvider;
|
||||
import dev.openfeature.sdk.Client;
|
||||
import dev.openfeature.sdk.FlagEvaluationDetails;
|
||||
import dev.openfeature.sdk.MutableStructure;
|
||||
|
|
@ -45,7 +45,7 @@ public class StepDefinitions {
|
|||
|
||||
@BeforeAll()
|
||||
public static void setup() {
|
||||
// OpenFeatureAPI.getInstance().setProvider(new FlagdProvider());
|
||||
OpenFeatureAPI.getInstance().setProvider(new FlagdProvider());
|
||||
client = OpenFeatureAPI.getInstance().getClient();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit e7379cd0070f8907cacdc535184f8f626bf25e01
|
||||
Subproject commit 5153eac71dc47413da4326bdb49a94e573b99578
|
||||
Loading…
Reference in New Issue