Update .github/workflows/build_and_test.yml

Co-authored-by: aykut-bozkurt <51649454+aykut-bozkurt@users.noreply.github.com>
pull/7314/head
Gokhan Gulbiz 2023-11-09 13:18:49 +02:00 committed by GitHub
parent 8a20ef88fb
commit 8298643b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ jobs:
- name: Detect regression tests need to be ran - name: Detect regression tests need to be ran
id: detect-regression-tests id: detect-regression-tests
run: |- run: |-
detected_changes=$(git diff origin/12.0... --name-only --diff-filter=AM | (grep 'src/test/regress/sql/.*\.sql\|src/test/regress/spec/.*\.spec\|src/test/regress/citus_tests/test/test_.*\.py' || true)) detected_changes=$(git diff origin/release-12.0... --name-only --diff-filter=AM | (grep 'src/test/regress/sql/.*\.sql\|src/test/regress/spec/.*\.spec\|src/test/regress/citus_tests/test/test_.*\.py' || true))
tests=${detected_changes} tests=${detected_changes}
if [ -z "$tests" ]; then if [ -z "$tests" ]; then
echo "No test found." echo "No test found."