mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 22:12:56 +00:00
circleci: shrink python tracebacks
Mostly we're not testing python code, so verbose python tracebacks are unhelpful. Add --tb=short to the pytest args to cut down on the noise. To override this during testing, set the "extra_params" parameter on the circleci job to "--tb=auto" or "--tb=long".
This commit is contained in:
@@ -154,7 +154,7 @@ jobs:
|
||||
if [ -n "$TEST_FILTER" ]; then
|
||||
TEST_FILTER="-k $TEST_FILTER"
|
||||
fi
|
||||
pytest $TEST_FILE $TEST_FILTER $EXTRA_PARAMS
|
||||
pytest --tb=short $TEST_FILE $TEST_FILTER $EXTRA_PARAMS
|
||||
- run:
|
||||
# CircleCI artifacts are preserved one file at a time, so skipping
|
||||
# this step isn't a good idea. If you want to extract the
|
||||
|
||||
Reference in New Issue
Block a user