Skip to content

Commit 186f883

Browse files
committed
chore(speakeasy): Configure speakeasy tests
1 parent d546d4b commit 186f883

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/sdk_test.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- '**'
14+
workflow_dispatch:
15+
inputs:
16+
target:
17+
description: Provided SDK target to run tests for, (all) is valid
18+
type: string
19+
jobs:
20+
test:
21+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-test.yaml@v15
22+
with:
23+
target: ${{ github.event.inputs.target || 'glean' }}
24+
secrets:
25+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
26+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 commit comments

Comments
 (0)