Skip to content

Commit 4bb58bd

Browse files
authored
chore: Unbreak the PyPI publish and CI contract tests, add Renovate (#78)
1 parent b480758 commit 4bb58bd

4 files changed

Lines changed: 24 additions & 4 deletions

File tree

‎.github/renovate.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>launchdarkly/gh-actions//renovate/sdk-python"]
4+
}

‎.github/workflows/ci.yml‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,29 @@ jobs:
4242
run: make start-contract-test-service-bg
4343

4444
- name: run SSE contract tests
45-
run: make run-contract-tests
45+
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
46+
with:
47+
repo: sse-contract-tests
48+
branch: main
49+
version: v2
50+
test_service_port: 8000
51+
enable_persistence_tests: "false"
52+
debug_logging: "true"
53+
token: ${{ secrets.GITHUB_TOKEN }}
4654

4755
- name: start async SSE contract test service
4856
run: make start-async-contract-test-service-bg
4957

5058
- name: run async SSE contract tests
51-
run: make run-async-contract-tests
59+
uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1
60+
with:
61+
repo: sse-contract-tests
62+
branch: main
63+
version: v2
64+
test_service_port: 8001
65+
enable_persistence_tests: "false"
66+
debug_logging: "true"
67+
token: ${{ secrets.GITHUB_TOKEN }}
5268

5369
windows:
5470
runs-on: windows-latest

‎.github/workflows/manual-publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ jobs:
3232

3333
- name: Publish package distributions to PyPI
3434
if: ${{ inputs.dry_run == false }}
35-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
35+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
3636
with:
3737
password: ${{env.PYPI_AUTH_TOKEN}}

‎.github/workflows/release-please.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242

4343
- name: Publish package distributions to PyPI
4444
if: ${{ steps.release.outputs.releases_created == 'true' }}
45-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
45+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
4646
with:
4747
password: ${{env.PYPI_AUTH_TOKEN}}

0 commit comments

Comments
 (0)