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

attempt to get colour output in CI #9031

Merged
merged 3 commits into from
May 17, 2024
Merged

Conversation

keewis
Copy link
Collaborator

@keewis keewis commented May 16, 2024

Github Actions don't set the TERM variable in CI, which makes pytest (and other CI tools) not colour the output. This tries to set the environment variable to see if that gives us colour output.

@keewis keewis marked this pull request as draft May 16, 2024 18:56
@max-sixty
Copy link
Collaborator

Or FORCE_COLOR? pytest-dev/pytest#7466

@keewis keewis marked this pull request as ready for review May 16, 2024 19:43
@keewis
Copy link
Collaborator Author

keewis commented May 16, 2024

that appears to work!

@keewis keewis merged commit b0e150e into pydata:main May 17, 2024
28 checks passed
@keewis keewis deleted the actions-colours branch May 17, 2024 12:48
andersy005 added a commit that referenced this pull request May 21, 2024
* main:
  Bump codecov/codecov-action from 4.3.1 to 4.4.0 in the actions group (#9036)
  Use ME in test_plot instead of M (#9035)
  Fix numbagg or bottlekneck skip (#9034)
  [skip-ci] min_deps_check: show age of required pkg on error (#9025)
  attempt to get colour output in CI (#9031)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants