Skip to content

Commit

Permalink
ci: Fix rate limiting error when downloading contract tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 committed May 2, 2024
1 parent a3fedb7 commit 94fa5c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/actions/contract-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
tls_feature:
description: 'Which TLS feature do you want to enable?'
required: true
token:
description: 'GH Token used for retrieving SDK test harness.'
required: true

runs:
using: composite
Expand All @@ -16,6 +19,8 @@ runs:
shell: bash
run: make start-contract-test-service-bg

- name: Run contract tests
shell: bash
run: make run-contract-tests
- uses: launchdarkly/gh-actions/actions/[email protected]
with:
test_service_port: 8000
token: ${{ inputs.token }}
extra_params: "-skip-from ./contract-tests/testharness-suppressions.txt"
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
uses: ./.github/actions/contract-tests
with:
tls_feature: 'rustls'
token: ${{ secrets.GITHUB_TOKEN }}

- name: 'Run contract tests with hyper_tls'
uses: ./.github/actions/contract-tests
with:
tls_feature: 'tls'
token: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/build-docs

Expand Down

0 comments on commit 94fa5c1

Please sign in to comment.