From 497229127668bd433ae0bd9e9bed3e75a4ef0d7d Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Thu, 3 Aug 2023 18:22:44 -0400 Subject: [PATCH] chore: add todos, fix submodule pull (#543) Signed-off-by: Todd Baert --- .github/workflows/pullrequest.yml | 3 ++- CONTRIBUTING.md | 2 ++ pom.xml | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 504c8b6f5..d737b3fd8 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -8,6 +8,7 @@ permissions: jobs: build: runs-on: ubuntu-latest + # TODO: this can be removed with https://github.com/open-feature/java-sdk/issues/523 services: flagd: image: ghcr.io/open-feature/flagd-testbed:latest @@ -39,7 +40,7 @@ jobs: ${{ runner.os }}-maven- - name: Verify with Maven - run: mvn --batch-mode --update-snapshots verify -P e2e-test + run: mvn --batch-mode --update-snapshots --activate-profiles e2e-test verify - name: Upload coverage to Codecov uses: codecov/codecov-action@e1dd05cde2ed37d100f658b34ea423728ba1812e diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b7ffa9a7f..63c9d533e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,6 +18,8 @@ If you're adding tests to cover something in the spec, use the `@Specification` ## End-to-End Tests + + 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 ``` diff --git a/pom.xml b/pom.xml index cd1e99625..c8a8b0be5 100644 --- a/pom.xml +++ b/pom.xml @@ -497,6 +497,8 @@ + + e2e-test @@ -523,7 +525,7 @@ submodule update --init - --recursive + test-harness