Skip to content

Commit 2da6ce5

Browse files
dmartinolrobhowley
authored andcommitted
feat: An action to test operator at PR time (feast-dev#4635)
Signed-off-by: Rob Howley <howley.robert@gmail.com>
1 parent 7bde7e6 commit 2da6ce5

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/operator_pr.yml

Lines changed: 18 additions & 0 deletions
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)