Skip to content
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

Tweak Pytest logging in CI for less overwhelming logging of successful tests #7501

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ conditions: v1
env:
global:
- PANTS_CONFIG_FILES="${TRAVIS_BUILD_DIR}/pants.travis-ci.ini"
- PYTEST_PASSTHRU_ARGS="-v --duration=3"
- LC_ALL="en_US.UTF-8"
# This tells the ./pants runner script to avoid trying to clean the workspace when changing
# python versions. CI starts off without the .python-interpreter-constraints file, so it would otherwise
Expand Down
4 changes: 4 additions & 0 deletions build-support/bin/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ esac
# We're running against a Pants clone.
export PANTS_DEV=1

# We only want to output failures and skips.
# See https://docs.pytest.org/en/latest/usage.html#detailed-summary-report.
export PYTEST_PASSTHRU_ARGS="-q -rfa"

# Determine the Python version to use for bootstrapping pants.pex. This would usually not be
# necessary to set when developing locally, because the `./pants` and `./pants2` scripts set
# these constraints for us already. However, we must set the values here because in
Expand Down
1 change: 0 additions & 1 deletion build-support/travis/travis.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ conditions: v1
env:
global:
- PANTS_CONFIG_FILES="${TRAVIS_BUILD_DIR}/pants.travis-ci.ini"
- PYTEST_PASSTHRU_ARGS="-v --duration=3"
- LC_ALL="en_US.UTF-8"
# This tells the ./pants runner script to avoid trying to clean the workspace when changing
# python versions. CI starts off without the .python-interpreter-constraints file, so it would otherwise
Expand Down