From 3f1e362c75baa9f7598d7f3f673b08519ffc13d9 Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Fri, 31 May 2024 17:29:24 +0200 Subject: [PATCH] Enable colors in CI --- .github/workflows/docker.yml | 1 + docker/docker-compose-integration-tests.yml | 1 + docker/docker-compose-test.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 545e1124e..9fed9cc86 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -402,6 +402,7 @@ jobs: env: # used in `docker-compose.yml` files to determine version of images to pull RELEASE: "${{ needs.build-docker.outputs.internetnl_version }}" + PY_COLORS: "1" steps: - uses: actions/checkout@v4 diff --git a/docker/docker-compose-integration-tests.yml b/docker/docker-compose-integration-tests.yml index 1248477c0..5c7b14c41 100644 --- a/docker/docker-compose-integration-tests.yml +++ b/docker/docker-compose-integration-tests.yml @@ -42,6 +42,7 @@ services: environment: - COMPOSE_PROJECT_NAME - ENABLE_BATCH + - PY_COLORS profiles: - build - run-tests diff --git a/docker/docker-compose-test.yml b/docker/docker-compose-test.yml index 8c14b7456..a8c8d61bf 100644 --- a/docker/docker-compose-test.yml +++ b/docker/docker-compose-test.yml @@ -36,6 +36,7 @@ services: - DEBUG_LOG - IPV4_IP_RESOLVER_INTERNAL_VALIDATING - IPV4_IP_RESOLVER_INTERNAL_PERMISSIVE + - PY_COLORS # TODO: to properly isolate tests this line needs to be uncommented, see above # - INTEGRATION_TESTS