Skip to content

Commit 838f46c

Browse files
fix(ci): Correct coverage report path in workflow
This commit updates the CI workflow to use the correct path when copying the coverage report from the Docker container. The previous path was incorrect, causing the Codecov upload step to fail.
1 parent 6a5d4bc commit 838f46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
"cd promo_code && coverage run --rcfile=.coveragerc manage.py test && coverage xml"
7070
7171
- name: Copy coverage report from container 📂
72-
run: docker compose cp web:/app/promo_code/coverage.xml ./coverage.xml
72+
run: docker compose cp web:/usr/src/app/promo_code/coverage.xml ./coverage.xml
7373

7474
- name: Upload coverage to Codecov 🚀
7575
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)