mirror of https://github.com/citusdata/citus.git
Update .github/workflows/build_and_test.yml
Co-authored-by: aykut-bozkurt <51649454+aykut-bozkurt@users.noreply.github.com>pull/7314/head
parent
8a20ef88fb
commit
8298643b79
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue