diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index f433929a..65fe8927 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -43,6 +43,16 @@ runs: shell: bash run: make lint - - name: Run contract tests + - name: Build contract tests shell: bash - run: make contract-tests + run: make build-contract-tests + + - name: Start contract test service + shell: bash + run: make start-contract-test-service-bg + + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1.0.2 + with: + test_service_port: 8000 + token: ${{ inputs.token }} + extra_params: "-skip 'evaluation/parameterized/attribute references/array index is not supported'" diff --git a/Makefile b/Makefile index bfe4bf98..b284dfe1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ - test: php -d xdebug.mode=coverage vendor/bin/phpunit