Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Modify notifyClassroom to have correct autograding tests #20

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

jalafel
Copy link
Contributor

@jalafel jalafel commented Dec 14, 2023

This PR changes the check_name to match the autograding workflow file that is generated on the classroom side. This essentially won't matter too much as we have changed the Classroom webhook event handler to find by the head sha, which will be more secure and more robust for teachers to create their own workflow and not have to use the "run-autograding-tests" check name.

In addition, because the output.summary and output.text are being written as the same things, we changed it so output.text is a JSON string which we will parse on the Classroom side of things and make it easier.

Again, so if teachers want to modify/create their own reporter, they don't need to use the exact regex we have been looking for (ie. "Points x/x). This will make things more flexible and easier to understand on this side of things, since our API is not open source.

@jalafel jalafel requested a review from a team as a code owner December 14, 2023 21:28
@jalafel jalafel merged commit 87339d1 into main Dec 14, 2023
5 checks passed
@jalafel jalafel deleted the jalafel/notify-classroom-modifies branch December 14, 2023 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants