diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 03cf1e92133..df911a87115 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -8,8 +8,6 @@ on: - releasebranch_* pull_request: branches: - - main - - releasebranch_* jobs: pytest: @@ -29,6 +27,9 @@ jobs: fail-fast: true runs-on: ${{ matrix.os }} + env: + FORCE_COLOR: 1 # for software including pip: https://force-color.org/ + CLICOLOR_FORCE: 1 # for other software including ninja: https://bixense.com/clicolors/ steps: - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 @@ -75,7 +76,7 @@ jobs: run: | export PYTHONPATH=`grass --config python_path`:$PYTHONPATH export LD_LIBRARY_PATH=$HOME/install/grass84/lib:$LD_LIBRARY_PATH - pytest --numprocesses auto . + pytest --verbose --color=yes --durations=0 --durations-min=0.5 --numprocesses auto -ra . - name: Print installed versions if: always()