|
Ran
|
Jobs
1
|
Files
163
|
Run time
1min
|
Badge
README BADGES
|
push
github
Versioning and History (#1346) * Setup migrations, schemas and test data for Version * assessements get_version function * updated corresponding else clause * formatting * Revert "formatting" This reverts commit 7e7bea7aa. * fixed incorrect field name in changeset * GET history endpoint * POST save endpoint * PUT name endpoint * modified versions table migration file create versions for non-voting question types only * modify version GET to include inserted_at field * formatting * formatting * Fixed error handling bugs for version controller and functions Updated migration to use up and down instead of change Changed name of 'version' field in versions table to 'content' * mix credo fixes * mix credo fixes * skip version insertion for voting questions * formatting * removed unnecessary error clauses * swagger definitions for version controller * tests for versions controller * tests for version schema * formatting * fix token bug missing repo.insert after earlier rebase * Revert "fix token bug" This reverts commit cb11670e5. Identifying source of test errors. * Revert "formatting" This reverts commit fde5d5859. Identifying source of test errors. * Revert "tests for version schema" This reverts commit 91da5d2f2. Identifying source of testing errors. * Revert "tests for versions controller" This reverts commit ba88128a7. Identifying source of test errors. * Revert "swagger definitions for version controller" This reverts commit c8942a85c. Identifying source of test errors. * tests for version schema and controller * fixed token bug repo insert previously removed during formatting * fixed token bug repo insert previously removed during formatting * fixed sentry review comments * fixed incorrect error format in answer_question ... (continued)
114 of 152 new or added lines in 9 files covered. (75.0%)
3878 of 4384 relevant lines covered (88.46%)
6933.88 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 19 |
59.57 |
lib/cadet_web/controllers/versions_controller.ex | |
| 16 |
76.47 |
lib/cadet/assessments/version_manager.ex | |
| 2 |
89.85 |
0.01% | lib/cadet/assessments/assessments.ex |
| 1 |
71.76 |
0.16% | lib/cadet_web/admin_controllers/admin_assessments_controller.ex |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | ffce8c51d07ea8109328501b23982d8a9f99e693.1 | 163 |
88.46 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|