Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Run doctests three times
Browse files Browse the repository at this point in the history
to work around flaky doctests
  • Loading branch information
saraedum committed Apr 30, 2018
1 parent 7de6efe commit bdf5ee2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .ci/test-doctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@

set -ex

docker run "$1" sage -tp --all $DOCTEST_PARAMETERS
# Run tests once, and then try the failing files twice to work around flaky doctests.
docker run --entrypoint sh "$1" -c 'sage -tp --all $DOCTEST_PARAMETERS
|| sage -tp --all $DOCTEST_PARAMETERS --failed
|| sage -tp --all $DOCTEST_PARAMETERS --failed'

0 comments on commit bdf5ee2

Please sign in to comment.