Skip to content

Commit

Permalink
Merge pull request #169 from ZeroGachis/task/PLA-1722-fix-4
Browse files Browse the repository at this point in the history
fix(run-pytest): share code coverage result file between the docker container and the ci host machine
  • Loading branch information
ducdetronquito authored Sep 27, 2024
2 parents bd942a3 + 7440a9a commit 8f6febf
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 8f6febf

Please sign in to comment.