Commit 3e768d4
authored
test coverage badge Feature/test pytest coverage (#97)
* ✨ chore: Update README and GitHub Actions for pytest coverage reporting
- Added pytest coverage reporting to the GitHub Actions workflow, including output to a text file and JUnit XML.
- Updated README.md to include a placeholder for pytest coverage comments, which will be dynamically populated by the workflow.
- Integrated a step to commit changes to README.md after coverage updates, ensuring documentation stays current.
* ✨ chore: Fix indentation in GitHub Actions workflow for README update step
- Corrected the indentation for the "Update README" step in the lint-and-test workflow to ensure proper execution.
- This change enhances the clarity and functionality of the workflow, maintaining accurate coverage reporting in the README.md.
* docs: update coverage badge
* ✨ chore: Update GitHub Actions workflow and .gitignore for pytest coverage
- Adjusted the path for pytest coverage output in the GitHub Actions workflow to ensure correct file location.
- Added pytest coverage output files to .gitignore to prevent unnecessary tracking in the repository.
* ✨ 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.
* docs: update coverage badge
* ✨ chore: Update GitHub Actions to use pytest-coverage-comment action
- Replaced the manual README update step with the pytest-coverage-comment action for automated coverage reporting.
- Streamlined the workflow by removing unnecessary commit steps, enhancing efficiency in coverage updates.
* ✨ chore: Update GitHub Actions workflow for pytest coverage reporting
- Adjusted paths for pytest coverage output and JUnit XML to reflect the correct directory structure.
- Added a step to update the README.md with the latest coverage information and commit the changes automatically.
* ✨ chore: Add coverage step ID in GitHub Actions workflow
- Introduced an ID for the pytest coverage comment step to facilitate future reference and enhancements in the workflow.
- This change improves the clarity and maintainability of the GitHub Actions configuration.
* docs: update coverage badge
* ✨ chore: Update README and backend README for pytest coverage reporting
- Added placeholders for pytest coverage comments in both README.md and backend/README.md.
- Adjusted the GitHub Actions workflow to update the backend README with the latest coverage information, ensuring accurate documentation.
* ✨ chore: Enhance pytest coverage reporting in GitHub Actions workflow
- Updated the pytest command to generate an XML coverage report, improving the coverage data output.
- Modified the coverage comment step to reference the new XML coverage report, ensuring accurate integration with the coverage comment action.
* Revert "✨ chore: Enhance pytest coverage reporting in GitHub Actions workflow"
This reverts commit 054c08b.
* ✨ chore: Refactor GitHub Actions workflow for pytest execution
- Simplified the pytest command in the workflow by removing the `cd` command and using the `working-directory` attribute.
- Enhanced readability of the pytest command by formatting it across multiple lines, improving maintainability.
* ✨ chore: Update file pattern for coverage badge in GitHub Actions workflow
- Changed the file pattern from README.md to backend/README.md to ensure the correct README is updated with the latest coverage information.
* docs: update coverage badge
* ✨ chore: Add coverage path prefix in GitHub Actions workflow
- Introduced a coverage path prefix for the pytest coverage report to ensure accurate path resolution in the generated reports.
* docs: update coverage badge
* ✨ chore: Fix coverage path prefix in GitHub Actions workflow
- Updated the coverage path prefix to include a trailing slash for accurate path resolution in the pytest coverage report.
* docs: update coverage badge
* feat: refactor linters & run configs
* feat: linter code
* feat: change debugpy config
* feat: delete useless files
* refactor: refactor mts tests name
* feat: update mypy dep, config
* feat: bump version of project
* fix: fix conflicts
* feat: refactor lms tests, conftest and handlers
* refactor: handlers.py
* feat: add new route for lms
* feat: add few tests for bulk1 parent 9d42ae3 commit 3e768d4
33 files changed
Lines changed: 1932 additions & 234 deletions
File tree
- .github/workflows
- .vscode
- backend
- yet_another_calendar
- tests
- fixtures/lms
- web
- api
- auth
- lms
- modeus
- mts
- utmn
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | | - | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | | - | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
| 104 | + | |
| 105 | + | |
95 | 106 | | |
96 | 107 | | |
97 | 108 | | |
| |||
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
105 | | - | |
| 116 | + | |
106 | 117 | | |
107 | 118 | | |
108 | | - | |
| 119 | + | |
109 | 120 | | |
110 | 121 | | |
111 | 122 | | |
112 | | - | |
| 123 | + | |
113 | 124 | | |
114 | 125 | | |
115 | 126 | | |
| |||
0 commit comments