From a29ae7b87c9335774a838caa8fab093f8876e462 Mon Sep 17 00:00:00 2001 From: noopur Date: Tue, 12 Nov 2024 07:54:11 +0000 Subject: [PATCH] Set FQDN as env variable for pytest coverage Signed-off-by: noopur --- .github/workflows/ubuntu.yml | 3 +++ .github/workflows/windows.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 3f26c797fc..d0d8db72c2 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -26,6 +26,9 @@ jobs: pytest-coverage: # from pytest_coverage.yml needs: lint runs-on: ubuntu-latest + env: + # A workaround for long FQDN names provided by GitHub actions. + FQDN: "localhost" steps: - uses: actions/checkout@v3 - name: Set up Python 3.8 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f7d9ca30b9..d15cc60dba 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -10,6 +10,9 @@ permissions: jobs: pytest-coverage: # from pytest_coverage.yml runs-on: windows-latest + env: + # A workaround for long FQDN names provided by GitHub actions. + FQDN: "localhost" steps: - uses: actions/checkout@v3 - name: Set up Python 3.8