From 42a70de9581c39d987611512e980cacd6957e080 Mon Sep 17 00:00:00 2001 From: pederhan Date: Sun, 23 Jun 2024 13:15:24 +0200 Subject: [PATCH] Use dumb terminal only for diff.py --- .github/workflows/test.yml | 3 --- ci/run_testsuite_and_record.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8be7062c..22848a58 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/ci/run_testsuite_and_record.sh b/ci/run_testsuite_and_record.sh index a29a3c6b..e1929701 100755 --- a/ci/run_testsuite_and_record.sh +++ b/ci/run_testsuite_and_record.sh @@ -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