From 2da6ce5e869f6249557995cb849d6bfa7be5ce49 Mon Sep 17 00:00:00 2001 From: Daniele Martinoli <86618610+dmartinol@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:22:07 +0200 Subject: [PATCH] feat: An action to test operator at PR time (#4635) Signed-off-by: Rob Howley --- .github/workflows/operator_pr.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/operator_pr.yml diff --git a/.github/workflows/operator_pr.yml b/.github/workflows/operator_pr.yml new file mode 100644 index 00000000000..e4d371b9454 --- /dev/null +++ b/.github/workflows/operator_pr.yml @@ -0,0 +1,18 @@ +name: operator-pr + +on: [pull_request] +jobs: + operator-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.21.x + - name: Operator tests + run: | + cd infra/feast-operator/ + make test + - name: After code formatting, check for uncommitted differences + run: git diff --exit-code infra/feast-operator