Skip to content

Add Publish Grading Feature #773

Add Publish Grading Feature

Add Publish Grading Feature #773

Triggered via pull request July 23, 2023 10:20
Status Failure
Total duration 3m 9s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
Run CI: test/cadet_web/controllers/user_controller_test.exs#L179
test GET /v2/courses/{course_id}/user/total_xp achievement, one completed goal (CadetWeb.UserControllerTest)
Run CI: test/cadet_web/controllers/user_controller_test.exs#L24
test GET v2/user success, student non-story fields (CadetWeb.UserControllerTest)
Run CI: test/cadet_web/controllers/user_controller_test.exs#L246
test GET /v2/user/latest_viewed_course success, student non-story fields (CadetWeb.UserControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L125
test GET /, student only does not render unpublished assessments (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L770
test GET /assessment_id, all roles it renders xp, grade for students (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L50
test GET /, all roles renders assessments overview (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L205
test GET /, student only renders xp for students (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L227
test GET /, non-students renders unpublished assessments (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_grading_controller_test.exs#L166
test GET /?group=true, staff filtered by its own group (CadetWeb.AdminGradingControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_grading_controller_test.exs#L107
test GET /, staff avenger gets to see all students submissions (CadetWeb.AdminGradingControllerTest)
Run CI
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run CI: lib/cadet/assessments/assessments.ex#L1443
function is_fully_graded?/1 is unused
Run CI: priv/repo/migrations/20210531155751_multitenant_upgrade.exs#L201
variable "configs" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: test/cadet/jobs/notification_worker/notification_worker_test.exs#L16
variable "asssub_ntype" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.