diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0704f37..1a99ac6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,9 @@ jobs: cp /tmp/ipy_coverage.xml ./ cp /tmp/.coverage ./ - name: pytest + env: + COLUMNS: 120 run: | - pytest -v --cov --cov-report=xml + pytest --color=yes -v --cov --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 diff --git a/appveyor.yml b/appveyor.yml index 031ba7f..26df940 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,6 +3,9 @@ matrix: fast_finish: true # immediately finish build once one of the jobs fails. environment: + global: + COLUMNS: 120 # Appveyor web viwer window width is 130 chars + matrix: - PYTHON: "C:\\Python37-x64" @@ -30,7 +33,7 @@ install: test_script: - iptest --coverage xml - cd .. - - pytest -ra --cov --cov-report=xml + - pytest --color=yes -ra --cov --cov-report=xml on_finish: - curl -Os https://uploader.codecov.io/latest/windows/codecov.exe - codecov -e PYTHON_VERSION,PYTHON_ARCH