Skip to content

Commit 3582f14

Browse files
author
baton-admin[bot]
committed
chore: add ci.yaml placeholder for integration tests
1 parent 631079e commit 3582f14

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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'

0 commit comments

Comments
 (0)