Skip to content

Commit ae93cc2

Browse files
committed
try to make it work
Signed-off-by: christian.lutnik <[email protected]>
1 parent bc8c31e commit ae93cc2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/pullrequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
- name: Verify with Maven
4545
run: mvn --batch-mode --update-snapshots --activate-profiles e2e,${{ matrix.build.profile }} verify
4646

47-
#- name: Verify with vmlens
48-
# run: mvn vmlens-maven-plugin:test
47+
- name: Verify with vmlens
48+
run: mvn vmlens-maven-plugin:test -e -X --activate-profiles vmlens
4949

5050
- if: matrix.build.java == '17'
5151
name: Upload coverage to Codecov

src/test/java/dev/openfeature/sdk/VmLensTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
import org.junit.jupiter.api.AfterEach;
1010
import org.junit.jupiter.api.BeforeEach;
1111
import org.junit.jupiter.api.Test;
12+
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
1213

1314
import static org.junit.jupiter.api.Assertions.assertEquals;
1415
import static org.junit.jupiter.api.Assertions.assertTrue;
1516

1617
/**
1718
* Javadoc.
1819
*/
20+
@EnabledIfSystemProperty(named = "--activate-profiles", matches = "vmlens")
1921
class VmLensTest {
2022
final OpenFeatureAPI api = new OpenFeatureAPI();
2123

@@ -33,6 +35,11 @@ void tearDown() {
3335
api.shutdown();
3436
}
3537

38+
@Test
39+
void fail(){
40+
assertTrue(false);
41+
}
42+
3643
@Test
3744
void concurrentFlagEvaluations() {
3845
var client = api.getClient();

0 commit comments

Comments
 (0)