Skip to content

Commit 4972291

Browse files
authored
chore: add todos, fix submodule pull (open-feature#543)
Signed-off-by: Todd Baert <[email protected]>
1 parent c545ed5 commit 4972291

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/pullrequest.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
# TODO: this can be removed with https://github.com/open-feature/java-sdk/issues/523
1112
services:
1213
flagd:
1314
image: ghcr.io/open-feature/flagd-testbed:latest
@@ -39,7 +40,7 @@ jobs:
3940
${{ runner.os }}-maven-
4041
4142
- name: Verify with Maven
42-
run: mvn --batch-mode --update-snapshots verify -P e2e-test
43+
run: mvn --batch-mode --update-snapshots --activate-profiles e2e-test verify
4344

4445
- name: Upload coverage to Codecov
4546
uses: codecov/codecov-action@e1dd05cde2ed37d100f658b34ea423728ba1812e

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ If you're adding tests to cover something in the spec, use the `@Specification`
1818

1919
## End-to-End Tests
2020

21+
<!-- TODO: this section should be updated with https://github.com/open-feature/java-sdk/issues/523 -->
22+
2123
The continuous integration runs a set of [gherkin e2e tests](https://github.com/open-feature/test-harness/blob/main/features/evaluation.feature) using [`flagd`](https://github.com/open-feature/flagd). These tests do not run with the default maven profile. If you'd like to run them locally, you can start the flagd testbed with
2224

2325
```

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@
497497

498498
<profile>
499499
<!-- this profile handles running the flagd e2e tests -->
500+
<!-- TODO: this profile can likely be removed with TODO: this section should be updated with https://github.com/open-feature/java-sdk/issues/523 -->
501+
<!-- TODO: we should pull the submodule and run these tests unconditionall once flagd isn't required -->
500502
<id>e2e-test</id>
501503
<properties>
502504
<!-- run the e2e tests by clearing the exclusions -->
@@ -523,7 +525,7 @@
523525
<argument>submodule</argument>
524526
<argument>update</argument>
525527
<argument>--init</argument>
526-
<argument>--recursive</argument>
528+
<argument>test-harness</argument>
527529
</arguments>
528530
</configuration>
529531
</execution>

0 commit comments

Comments
 (0)