Autograding and Actions

Hello everyone! First time posting.

I have been using github classroom for my AP Computer Science Principles class and I have been using some very basic input/output tests using the autograder and the github actions. I have just received a notification that I have use almost all of my allowed github actions minutes. I know that there are options for education but all of it seems to be geared toward colleges and not high schools. Any advice there?

On another note, I noticed that everytime my students accept an assignment it runs the autograder on the files in the repository template as they are commited to the new repository for that assignment… this uses 1 - 1.5 minutes per student per assignment. Any advice as to how to only make it run when students commit their own assignment and not when the assignment repository is created?


1 Like

Autograding is basically just glorified Github Actions, so you can set up Actions yourself. This is particularly useful not only for the tests (it’s less tedious generally to set up the tests in the file than in the UI, and you have more fine-tuned control over the whole process), but also for when the actions run. You’ll want to look at the Github Actions docs, but there’s an on block that you can use to tell it to run only on a given branch and only with certain actions. That should allow you to pare down when it runs, but may take a little fiddling to get just the way you want.

© 2017 GitHub, Inc.
with by
GitHub Education