Skip to content

Commit f7d3308

Browse files
committed
✨ chore: Update README and GitHub Actions for pytest coverage paths
- Removed unnecessary line from README.md. - Adjusted paths for pytest coverage output and JUnit XML in the GitHub Actions workflow to reflect the correct directory structure.
1 parent 80c864e commit f7d3308

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/lint-and-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
- name: Run tests
4747
run: |
4848
cd backend
49-
YET_ANOTHER_CALENDAR_TUTOR_SECRET_KEY='test' uv run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov-fail-under=80 --cov=yet_another_calendar/web yet_another_calendar/tests/* | tee ../pytest-coverage.txt
49+
YET_ANOTHER_CALENDAR_TUTOR_SECRET_KEY='test' uv run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov-fail-under=80 --cov=yet_another_calendar/web yet_another_calendar/tests/* | tee pytest-coverage.txt
5050
5151
- name: Pytest coverage comment
5252
uses: MishaKav/pytest-coverage-comment@main
5353
with:
54-
pytest-coverage-path: ./pytest-coverage.txt
55-
junitxml-path: ./pytest.xml
54+
pytest-coverage-path: ./backend/pytest-coverage.txt
55+
junitxml-path: ./backend/pytest.xml
5656

5757
- name: Update README
5858
run: |

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# ![32x32_UPD](https://github.com/user-attachments/assets/1fbb28a8-01bf-46bc-acc7-8527a1fd60aa) YetAnotherCalendar
22

33
<!-- Pytest Coverage Comment:Begin -->
4-
54
<!-- Pytest Coverage Comment:End -->
65

76
[![GitHub Repo stars](https://img.shields.io/github/stars/depocoder/YetAnotherCalendar)](https://github.com/depocoder/YetAnotherCalendar/stargazers)

0 commit comments

Comments
 (0)