Skip to content

Commit

Permalink
Add ci trigger for sdk-features
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Nov 17, 2022
1 parent ad892e2 commit 66a8e45
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
run: make cover_ci

cloud-test:
# Only supported in non-fork runs, since secrets are not available in forks.
if: ${{ github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-go' }}
runs-on: ubuntu-latest
env:
SERVICE_ADDR: tinycicd.sdk.tmprl.cloud:7233
Expand All @@ -50,12 +52,19 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
if: ${{ env.TEMPORAL_CLIENT_CERT != '' }}
- uses: actions/setup-go@v2
with:
go-version: "1.17"
if: ${{ env.TEMPORAL_CLIENT_CERT != '' }}
- name: Single integration test against cloud
run: 'go test -v --count 1 -p 1 . -run "TestIntegrationSuite/TestBasic$"'
working-directory: test
if: ${{ env.TEMPORAL_CLIENT_CERT != '' }}


sdk-features-test:
# TODO: Undo using main once PR merged
uses: temporalio/sdk-features/.github/workflows/go.yaml@gh-actions-refactoring
with:
go-repo-path: ${{github.event.pull_request.head.repo.full_name}}
version: ${{github.event.pull_request.head.ref}}
version-is-repo-ref: true

0 comments on commit 66a8e45

Please sign in to comment.