From cb13dfbb9cd6bc9b5c7eba584598a449d41654e7 Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Wed, 18 Sep 2024 15:00:32 -0700 Subject: [PATCH] ci: colorize output --- .github/workflows/alpine-unittests.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/unit.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/alpine-unittests.yml b/.github/workflows/alpine-unittests.yml index eac2c7a81e4..fa6355c2082 100644 --- a/.github/workflows/alpine-unittests.yml +++ b/.github/workflows/alpine-unittests.yml @@ -71,4 +71,4 @@ jobs: run: lxc exec alpine -- ifdown -a - name: Run unittests - run: lxc exec alpine --cwd /root/cloud-init-rw -- tox -e py3 + run: lxc exec alpine --cwd /root/cloud-init-rw -- sh -c 'tox -e py3 -- --color=yes' diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 6b9b9730d8c..7c8e5daed85 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -73,4 +73,4 @@ jobs: echo "[lxd]" > /home/$USER/.config/pycloudlib.toml - name: Run integration Tests run: | - sh -c 'CLOUD_INIT_CLOUD_INIT_SOURCE="$(ls ${{ runner.temp }}/cloud-init*.deb)" tox -e integration-tests-ci' + CLOUD_INIT_CLOUD_INIT_SOURCE="$(ls ${{ runner.temp }}/cloud-init*.deb)" tox -e integration-tests-ci -- --color=yes diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 4521138f9e8..f76e39b1ada 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -44,4 +44,4 @@ jobs: - name: Install tox run: pip install tox - name: Run unittest - run: tox -e ${{ matrix.toxenv }} + run: tox -e ${{ matrix.toxenv }} -- --color=yes