Skip to content

Commit 6913cc4

Browse files
authored
Document integration test job in contributing (#55)
1 parent d2037cd commit 6913cc4

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

contributing.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ This will make any code changes to your content trigger a few things:
136136
gallery
137137
- package: creating a TAR file of the content's directory to test in pull
138138
requests and to be released
139-
- release: When the `version` in the `manifest.json` is incrased and merged to
139+
- test: checking that the content will publish to Connect
140+
- release: When the `version` in the `manifest.json` is increased and merged to
140141
`main`, releases the content to users of Posit Connect
141142

142143
Lastly set the `version` in the `manifest.json` file to your initial release.

docs/creating-a-custom-workflow.qmd

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,23 @@ jobs:
7474
extension-name: ${{ env.EXTENSION_NAME }}
7575
artifact-name: ${{ env.EXTENSION_NAME }}
7676

77-
# Release the extension using the release-extension action
78-
# Will only create a GitHub release if merged to `main` and the semver
79-
# version has been updated
77+
connect-integration-tests:
78+
needs: extension
79+
uses: ./.github/workflows/connect-integration-tests.yml
80+
secrets: inherit
81+
with:
82+
extensions: '["publisher-command-center"]' # JSON array format to match the workflow input schema
83+
84+
release:
85+
runs-on: ubuntu-latest
86+
needs: [extension, connect-integration-tests]
87+
# Release the extension using the release-extension action
88+
# Will only create a GitHub release if merged to `main` and the semver
89+
# version has been updated
90+
steps:
91+
# Checkout the repository so the rest of the actions can run with no issue
92+
- uses: actions/checkout@v4
93+
8094
- uses: ./.github/actions/release-extension
8195
with:
8296
extension-name: ${{ env.EXTENSION_NAME }}

0 commit comments

Comments
 (0)