Skip to content

chore: update release-please.yml with server-sdk (#278) #969

chore: update release-please.yml with server-sdk (#278)

chore: update release-please.yml with server-sdk (#278) #969

Workflow file for this run

name: libs/server-sent-events
on:
push:
branches: [ main ]
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
jobs:
build-test-sse:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/ci
with:
cmake_target: launchdarkly-sse-client
contract-tests:
runs-on: ubuntu-22.04
env:
# Port the test service (implemented in this repo) should bind to.
TEST_SERVICE_PORT: 8123
TEST_SERVICE_BINARY: ./build/contract-tests/sse-contract-tests/sse-tests
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/ci
with:
cmake_target: sse-tests
run_tests: false
- name: 'Launch test service as background task'
run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 &
- uses: ./.github/actions/contract-tests
with:
repo: 'sse-contract-tests'
test_service_port: ${{ env.TEST_SERVICE_PORT }}