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