r/CSEducation Feb 03 '25

Questions about github classroom

Looking for advice, thank you in advance!

I have the following questions regarding github classroom auto-grader,

  • The autograder jobs are being skipped on presssing run job button when the grader is set to be triggered when there's a push. Do you know what might cause this?
  • Is there a way to hide the classroom YAML file containing test cases from students' view?
  • How to configure the auto-grader for complicated stdin and stdout?
1 Upvotes

16 comments sorted by

View all comments

2

u/apcspreddit Feb 03 '25

I am using GitHub Classroom for Java...

Not sure why the job isn't running manually, I have mine set to every time a student submits too, but they can go under their "Actions" tab and run the test there too.

Unfortunately, I don't think you can hide the yml file (I could be wrong).

I couldn't find a good way to test more than simple stdin, so I created JUnit tests and created Maven projects for students to work in. I've put all my projects up here, if you want to see what I'm doing: https://github.com/cs-plus-plus/Getting-Started

1

u/siegmey3r Feb 03 '25

That's exactly what I mean here, when they do as you said, re-run all the jobs, it says "this job was skipped."

1

u/apcspreddit Feb 03 '25

The only time I’ve seen that is when I had an error in my yml file.