Skip to content

Commit 6fc0867

Browse files
authored
ci: Have integration tests also run when a PR is LGTM'd (feast-dev#2385)
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent a985f1d commit 6fc0867

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr_integration_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414

1515
jobs:
1616
build-docker-image:
17-
# all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.
18-
if: (github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test'))
17+
# all jobs MUST have this if check for 'ok-to-test' or 'approved' or 'lgtm' for security purposes.
18+
if: (github.event.action == 'labeled' && (github.event.label.name == 'lgtm' || github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test'))
1919
|| (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
2020
runs-on: ubuntu-latest
2121
steps:
@@ -71,8 +71,8 @@ jobs:
7171
outputs:
7272
DOCKER_IMAGE_TAG: ${{ steps.image-tag.outputs.DOCKER_IMAGE_TAG }}
7373
integration-test-python:
74-
# all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.
75-
if: (github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test'))
74+
# all jobs MUST have this if check for 'ok-to-test' or 'approved' or 'lgtm' for security purposes.
75+
if: (github.event.action == 'labeled' && (github.event.label.name == 'lgtm' || github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test'))
7676
|| (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
7777
needs: build-docker-image
7878
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)