Skip to content

Commit

Permalink
Update ubuntu.yml usercustomize
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Jul 24, 2024
1 parent 2127b53 commit 4c1c385
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c1c385

Please sign in to comment.