diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 504c8b6f..d737b3fd 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 b7ffa9a7..63c9d533 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 cd1e9962..c8a8b0be 100644 --- a/pom.xml +++ b/pom.xml @@ -497,6 +497,8 @@ + + e2e-test @@ -523,7 +525,7 @@ submodule update --init - --recursive + test-harness