Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/actions/contract-tests/action.yml

This file was deleted.

29 changes: 26 additions & 3 deletions .github/workflows/java-server-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,34 @@ jobs:
workspace_path: 'lib/sdk/server'
java_version: 8

- name: Contract Tests
uses: ./.github/actions/contract-tests
- name: Build Contract Test Service
shell: bash
run: make build-contract-tests -C lib/sdk/server

- name: Start Contract Test Service
shell: bash
run: make start-contract-test-service-bg -C lib/sdk/server

- name: Contract Tests (v2)
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
with:
workspace_path: 'lib/sdk/server'
test_service_port: '8000'
token: ${{ secrets.GITHUB_TOKEN }}
debug_logging: 'true'
stop_service: 'false'
enable_persistence_tests: 'false'
extra_params: '-skip-from=lib/sdk/server/contract-tests/test-suppressions.txt'

- name: Contract Tests (v3)
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
with:
test_service_port: '8000'
version: 'v3.0.0-alpha.6'
branch: 'v3.0.0-alpha.6'
token: ${{ secrets.GITHUB_TOKEN }}
debug_logging: 'true'
enable_persistence_tests: 'false'
extra_params: '-skip-from=lib/sdk/server/contract-tests/test-suppressions-fdv2.txt'

test-packaging:
runs-on: ubuntu-latest
Expand Down
30 changes: 26 additions & 4 deletions .github/workflows/nightly-contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,34 @@ jobs:
workspace_path: 'lib/sdk/server'
java_version: 8

- name: Contract Tests (with long-running tests)
uses: ./.github/actions/contract-tests
- name: Build Contract Test Service
shell: bash
run: make build-contract-tests -C lib/sdk/server

- name: Start Contract Test Service
shell: bash
run: make start-contract-test-service-bg -C lib/sdk/server

- name: Contract Tests (v2)
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
with:
workspace_path: 'lib/sdk/server'
test_service_port: '8000'
token: ${{ secrets.GITHUB_TOKEN }}
debug_logging: 'true'
stop_service: 'false'
enable_persistence_tests: 'false'
extra_params: '-skip-from=lib/sdk/server/contract-tests/test-suppressions.txt'

- name: Contract Tests v3 (with long-running tests)
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
with:
test_service_port: '8000'
version: 'v3.0.0-alpha.6'
branch: 'v3.0.0-alpha.6'
token: ${{ secrets.GITHUB_TOKEN }}
test_harness_params_v3: '-enable-long-running-tests'
debug_logging: 'true'
enable_persistence_tests: 'false'
extra_params: '-skip-from=lib/sdk/server/contract-tests/test-suppressions-fdv2.txt -enable-long-running-tests'

notify-slack-on-failure:
runs-on: ubuntu-latest
Expand Down
Loading