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

Give instructors access to source code of autograding actions #20

Open
titaniumbones opened this issue May 6, 2020 · 4 comments
Open

Comments

@titaniumbones
Copy link

It would be very helpful if we could edit the autograding workflow yml and test json files directly. Reling on a slightly inflexible GUI in this situation is a bit odd; for one thing, it means we can't keep our grading schemas in version control (!)

@jeffrafter
Copy link
Contributor

Good news! You can absolutely change the workflow and autograding.json files manually and check them into your template repository. When checking in the autograding files, don't setup autograding in the assignment (if you do, it will overwrite the files in the template repo) and it should work as expected.

@titaniumbones
Copy link
Author

titaniumbones commented May 12, 2020 via email

@jeffrafter
Copy link
Contributor

That would be fantastic... though this wasn't an official feature it is something I very much think should work!

@ShaunaGordon
Copy link

Awesome! Is that new though? I tried toxdocthst and autograding didn't seem to get set up (the autograde report didn't seem to be visible in the classroom view).

Here's how I'm set up.

Inside my repository, I have the following folders:

image

My classroom.yml file looks like this:

image

The main thing under the steps is the "autograder" step and maybe the "checkout" one.

Then, inside autograding.json, I have my test configs, like so:

image

If you want more than one test, just copy the one object and add it to the "tests" array and tell your test runner to run certain suites or tests or whatever.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants