Skip to content

Commit 14c1000

Browse files
authored
feat: An action to test operator at PR time (#4635)
1 parent 9d7202d commit 14c1000

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/operator_pr.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: operator-pr
2+
3+
on: [pull_request]
4+
jobs:
5+
operator-test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- name: Install Go
10+
uses: actions/setup-go@v2
11+
with:
12+
go-version: 1.21.x
13+
- name: Operator tests
14+
run: |
15+
cd infra/feast-operator/
16+
make test
17+
- name: After code formatting, check for uncommitted differences
18+
run: git diff --exit-code infra/feast-operator

0 commit comments

Comments
 (0)