From a4a985ac7461cb9044086933a4cd120ae066ccdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:39:12 -0400 Subject: [PATCH] Update ubuntu.yml usercustomize --- .github/workflows/ubuntu.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 175bdc71b90..8cb4cb5c015 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -165,17 +165,17 @@ jobs: - name: Test executing of the grass command run: .github/workflows/test_simple.sh - - name: Place a sitecustomize.py file enabling subprocess code coverage + - name: Place a usercustomize.py file enabling subprocess code coverage run: | mkdir -p $(python -m site --user-site) printf "import coverage\ncoverage.process_startup()" \ - > "$(python -m site --user-site)/sitecustomize.py" + > "$(python -m site --user-site)/usercustomize.py" - name: Set COVERAGE_PROCESS_START env variable run: | echo "COVERAGE_PROCESS_START=${PWD}/.coveragerc" >> $GITHUB_ENV echo "COVERAGE_RCFILE=${PWD}/.coveragerc" >> $GITHUB_ENV - + - name: Run tests run: | export COVERAGE_PROCESS_START=${PWD}/.coveragerc