Skip to content

Commit

Permalink
fix(run-pytest): share code coverage result file between the docker c…
Browse files Browse the repository at this point in the history
…ontainer and the ci host machine
  • Loading branch information
ducdetronquito committed Sep 27, 2024
1 parent bd942a3 commit 7440a9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
env:
DJANGO_SETTINGS_MODULE: ${{ inputs.env_django_settings_module }}
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1
volumes:
- ./.coverage:${inputs.workdir}/.coverage
services:
postgres:
image: postgres:16
Expand Down Expand Up @@ -75,4 +77,4 @@ jobs:
with:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
COVERAGE_PATH: ${{ inputs.workdir }}
COVERAGE_PATH: ./

0 comments on commit 7440a9a

Please sign in to comment.