-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use the contract test service action. (#456)
- Loading branch information
1 parent
f87ac1f
commit 55b6f81
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,6 @@ jobs: | |
# Node versions to run on. | ||
version: [18, 21] | ||
|
||
env: | ||
TEST_HARNESS_PARAMS: '--skip-from=./contract-tests/testharness-suppressions.txt' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
|
@@ -34,5 +31,10 @@ jobs: | |
with: | ||
workspace_name: '@launchdarkly/node-server-sdk' | ||
workspace_path: packages/sdk/server-node | ||
- name: Contract Tests | ||
run: yarn run contract-tests | ||
- name: Launch the test service in the background | ||
run: yarn run contract-test-service 2>&1 & | ||
- uses: launchdarkly/gh-actions/actions/[email protected] | ||
with: | ||
test_service_port: 8000 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
extra_params: '--skip-from=./contract-tests/testharness-suppressions.txt' |