Skip to content

Commit

Permalink
Use color in CI
Browse files Browse the repository at this point in the history
This makes tox/pytest output easier to read.
  • Loading branch information
samueljsb committed Jul 10, 2024
1 parent 98ff195 commit 9a4dd0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
cache: 'pip'
- run: python -m pip install uv
- run: uv pip compile --output-file=requirements.txt --extra=dev pyproject.toml
- run: git diff --exit-code
- run: git diff --color=always --exit-code
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
tox.ini
- run: pip install -c requirements.txt tox tox-uv
- run: tox run-parallel --parallel-no-spinner
env:
FORCE_COLOR: "1"

0 comments on commit 9a4dd0f

Please sign in to comment.