8000 Travis fixes (fix test_ptrack_vacuum_full test) by kulaginm · Pull Request #14 · postgrespro/ptrack · GitHub
[go: up one dir, main page]

Skip to content

Travis fixes (fix test_ptrack_vac 8000 uum_full test) #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 24, 2021
Merged
Prev Previous commit
Next Next commit
[travis] fix codecov working dir
  • Loading branch information
kulaginm committed Oct 23, 2021
commit b1f8092de971736a7dac8b0c0ecf22cd1f73c83d
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ env:
# - PG_BRANCH=master TEST_CASE=all
# - PG_BRANCH=master TEST_CASE=all MODE=paranoia
- PG_BRANCH=REL_14_STABLE TEST_CASE=tap
- PG_BRANCH=REL_14_STABLE TEST_CASE=tap MODE=legacy
- PG_BRANCH=REL_14_STABLE TEST_CASE=all
- PG_BRANCH=REL_14_STABLE TEST_CASE=all MODE=paranoia
# - PG_BRANCH=REL_14_STABLE TEST_CASE=tap MODE=legacy
# - PG_BRANCH=REL_14_STABLE TEST_CASE=all
# - PG_BRANCH=REL_14_STABLE TEST_CASE=all MODE=paranoia
# - PG_BRANCH=REL_13_STABLE TEST_CASE=tap
# - PG_BRANCH=REL_13_STABLE TEST_CASE=tap MODE=legacy
# - PG_BRANCH=REL_13_STABLE TEST_CASE=all
Expand Down
8 changes: 6 additions & 2 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ else

if [ "${TEST_CASE}" = "all" ]; then
# Run all pg_probackup ptrack tests
PBK_TEST_CASE=tests.ptrack
PBK_TEST_CASE=tests.ptrack
else
PBK_TEST_CASE=tests.ptrack.PtrackTest.${TEST_CASE}
PBK_TEST_CASE=tests.ptrack.PtrackTest.${TEST_CASE}
fi
for i in `seq ${TEST_REPEATS}`; do
python3 -m unittest -v ${PBK_TEST_CASE} || status=$?
Expand All @@ -112,6 +112,10 @@ else
deactivate
fi

#########################################################
# codecov
echo "############### Codecov"
cd ${PTRACK_SRC}
# Generate *.gcov files
gcov ${PG_SRC}/contrib/ptrack/*.c ${PG_SRC}/contrib/ptrack/*.h

Expand Down
0