Skip to content

Add Team Assessments #1065

Add Team Assessments

Add Team Assessments #1065

Triggered via pull request January 20, 2024 16:17
Status Failure
Total duration 2m 28s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 23 warnings
Run CI: test/cadet_web/controllers/teams_controller_test.exs#L25
test GET /v2/admin/teams authorized with zero team (CadetWeb.TeamsControllerTest)
Run CI: test/cadet_web/controllers/teams_controller_test.exs#L34
test GET /v2/admin/teams authorized with multiple teams (CadetWeb.TeamsControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_teams_controller_test.exs#L31
test GET /admin/teams returns a list of teams (CadetWeb.AdminTeamsControllerTest)
Run CI
Process completed with exit code 2.
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/accounts/teams.ex#L47
variable "student_ids" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: lib/cadet/accounts/teams.ex#L88
variable "all_ids_distinct" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: lib/cadet/accounts/teams.ex#L70
defp student_already_assigned?/2 is private, @doc attribute is always discarded for private functions/macros/types
Run CI: lib/cadet/accounts/teams.ex#L94
defp all_students_distinct?/1 is private, @doc attribute is always discarded for private functions/macros/types
Run CI: lib/cadet/accounts/teams.ex#L119
defp all_team_within_max_size?/2 is private, @doc attribute is always discarded for private functions/macros/types
Run CI: lib/cadet/accounts/teams.ex#L139
defp all_student_enrolled_in_course?/2 is private, @doc attribute is always discarded for private functions/macros/types
Run CI: lib/cadet/accounts/teams.ex#L169
defp student_already_in_team?/3 is private, @doc attribute is always discarded for private functions/macros/types
Run CI: lib/cadet/accounts/teams.ex#L212
variable "old_assessment_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: lib/cadet/accounts/teams.ex#L236
defp update_team_members/3 is private, @doc attribute is always discarded for private functions/macros/types
Run CI: lib/cadet/accounts/teams.ex#L307
defp has_submitted_answer?/1 is private, @doc attribute is always discarded for private functions/macros/types
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.
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
Plug.Adapters.Cowboy.http/3 is deprecated. Use Plug.Cowboy.http/3 instead
Run CI
variable "asset_host" is unused (if the variable is not meant to be used, prefix it with an underscore)