From e36d075a210c8517a417b8ef066e5edbdbdc0495 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Mon, 18 Nov 2024 14:27:56 +0100 Subject: [PATCH] CI: Don't run pytest in verbose mode --- .github/workflows/ci-code.yml | 2 +- .github/workflows/test-install.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index ff95047bb4..b5f6aa424d 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -104,7 +104,7 @@ jobs: AIIDA_WARN_v3: 1 # Python 3.12 has a performance regression when running with code coverage # so run code coverage only for python 3.9. - run: pytest -v tests -m 'not nightly' ${{ matrix.python-version == '3.9' && '--cov aiida' || '' }} + run: pytest tests -m 'not nightly' ${{ matrix.python-version == '3.9' && '--cov aiida' || '' }} - name: Upload coverage report if: matrix.python-version == 3.9 && github.repository == 'aiidateam/aiida-core' diff --git a/.github/workflows/test-install.yml b/.github/workflows/test-install.yml index 2f919a8c99..cfd3e7b618 100644 --- a/.github/workflows/test-install.yml +++ b/.github/workflows/test-install.yml @@ -18,6 +18,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + FORCE_COLOR: 1 + jobs: validate-dependency-specification: @@ -229,7 +232,7 @@ jobs: env: AIIDA_TEST_PROFILE: test_aiida AIIDA_WARN_v3: 1 - run: pytest --verbose tests -m 'not nightly' + run: pytest tests -m 'not nightly' - name: Freeze test environment run: pip freeze | sed '1d' | tee requirements-py-${{ matrix.python-version }}.txt