File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ pull_request :
4+ types : [opened, reopened, synchronize]
5+ push :
6+ branches :
7+ - main
8+ jobs :
9+ test :
10+ if : false # Remove this line to enable integration tests
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Install Go
14+ uses : actions/setup-go@v6
15+ with :
16+ go-version-file : go.mod
17+ - name : Checkout code
18+ uses : actions/checkout@v6
19+ # Build the connector binary, then run sync-test.
20+ # Configure with valid entitlement/principal IDs.
21+ # Add additional test jobs as needed.
22+ - name : Build baton-fastly
23+ run : go build ./cmd/baton-fastly
24+ - name : Test connector syncing
25+ uses : ConductorOne/github-workflows/actions/sync-test@v4
26+ with :
27+ connector : ./baton-fastly
28+ baton-entitlement : ' <entitlement-id>'
29+ baton-principal : ' <principal-id>'
30+ baton-principal-type : ' user'
You can’t perform that action at this time.
0 commit comments