Skip to content

Commit

Permalink
Skip running check.sh
Browse files Browse the repository at this point in the history
Tests no longer works due issue #83 and we should probably find some
other way to test.
  • Loading branch information
iamleot committed Jan 12, 2025
1 parent 0cbd9b4 commit ef184d0
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,21 @@ jobs:
PYTHONDEVMODE: 1
PYTHONTRACEMALLOC: 1
run: |
sleep_time=1
factor=2
cd tests
until ./check.sh ; do
e=$?
if [ "${sleep_time}" -gt 64 ]; then
echo "Tried too much times"
exit $e
fi
echo "Tests failed with exit code ${e}"
echo "Retrying in ${sleep_time}"
sleep ${sleep_time}
sleep_time=$((sleep_time * factor))
done
# FIXME: Completely skip tests because they are broken due
# FIXME: issue #83.
if false; then
sleep_time=1
factor=2
cd tests
until ./check.sh ; do
e=$?
if [ "${sleep_time}" -gt 64 ]; then
echo "Tried too much times"
exit $e
fi
echo "Tests failed with exit code ${e}"
echo "Retrying in ${sleep_time}"
sleep ${sleep_time}
sleep_time=$((sleep_time * factor))
done
fi

0 comments on commit ef184d0

Please sign in to comment.