From 8c0af215f7d1dbd560103e47b2acc042a186d312 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Wed, 26 Jun 2024 12:30:17 +0100 Subject: [PATCH] colour output for pytest --- .github/workflows/test-pytest.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-pytest.yml b/.github/workflows/test-pytest.yml index e75a5ee7..5c6578f3 100644 --- a/.github/workflows/test-pytest.yml +++ b/.github/workflows/test-pytest.yml @@ -45,12 +45,14 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pytest pytest-asyncio + pip install pytest pytest-asyncio pytest-sugar - name: Install the package run: pip install -e . - name: Test with pytest + env: + PYTEST_ADDOPTS: "--color=yes" run: pytest -v - run: echo "🍏 This job's status is ${{ job.status }}."