Skip to content

Commit

Permalink
Use dumb terminal only for diff.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan committed Jun 23, 2024
1 parent 227685c commit 42a70de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
python-version:
- '3.11'
- '3.12'
env:
# Disable colors and formatting in Rich console output
TERM: dumb
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion ci/run_testsuite_and_record.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ echo "test" | mreg-cli -u test -d example.org --url http://127.0.0.1:8000 --sour

# show a detailed diff (and review if running locally)
if [[ -n "$GITHUB_ACTIONS" ]]; then
python diff.py testsuite-result.json new_testsuite_log.json
TERM=dumb python diff.py testsuite-result.json new_testsuite_log.json
else
python diff.py testsuite-result.json new_testsuite_log.json --review
fi
Expand Down

0 comments on commit 42a70de

Please sign in to comment.