mirror of https://github.com/citusdata/citus.git
Fixes tests
parent
1ff0799b4b
commit
5c10fcebb7
|
@ -243,10 +243,10 @@ jobs:
|
||||||
}
|
}
|
||||||
print substr(parts[X], 1, length(parts[X])-1)
|
print substr(parts[X], 1, length(parts[X])-1)
|
||||||
}')
|
}')
|
||||||
echo $TESTS
|
echo ${tests}
|
||||||
gosu circleci \
|
gosu circleci \
|
||||||
make -C src/test/regress \
|
make -C src/test/regress \
|
||||||
check-arbitrary-configs parallel=4 CONFIGS=$TESTS
|
check-arbitrary-configs parallel=4 CONFIGS=${tests}
|
||||||
- uses: "./.github/actions/save_logs_and_results"
|
- uses: "./.github/actions/save_logs_and_results"
|
||||||
if: always()
|
if: always()
|
||||||
- uses: "./.github/actions/upload_coverage"
|
- uses: "./.github/actions/upload_coverage"
|
||||||
|
@ -434,12 +434,12 @@ jobs:
|
||||||
run: |-
|
run: |-
|
||||||
detected_changes=$(git diff origin/main... --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/main... --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."
|
||||||
else
|
else
|
||||||
echo "Detected tests " $tests
|
echo "Detected tests " ${tests}
|
||||||
fi
|
fi
|
||||||
echo tests="'$tests'" >> "$GITHUB_OUTPUT"
|
echo tests="${tests}" >> "$GITHUB_OUTPUT"
|
||||||
test-flakyness:
|
test-flakyness:
|
||||||
if: ${{ needs.test-flakyness-pre.outputs.tests != ''}}
|
if: ${{ needs.test-flakyness-pre.outputs.tests != ''}}
|
||||||
name: Test flakyness
|
name: Test flakyness
|
||||||
|
@ -463,7 +463,7 @@ jobs:
|
||||||
- name: Run minimal tests
|
- name: Run minimal tests
|
||||||
run: |-
|
run: |-
|
||||||
tests="${{ needs.test-flakyness-pre.outputs.tests }}"
|
tests="${{ needs.test-flakyness-pre.outputs.tests }}"
|
||||||
tests_array=($tests)
|
tests_array=(${tests})
|
||||||
for test in "${tests_array[@]}"
|
for test in "${tests_array[@]}"
|
||||||
do
|
do
|
||||||
test_name=$(echo "$test" | sed -r "s/.+\/(.+)\..+/\1/")
|
test_name=$(echo "$test" | sed -r "s/.+\/(.+)\..+/\1/")
|
||||||
|
|
Loading…
Reference in New Issue