Local runner for GitHub autograder
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rust 90.8%
Nix 9.2%
8 1 0

Clone this repository

https://tangled.org/bwc9876.dev/gh-grader-preview https://tangled.org/did:plc:x7tlupbnqot7nu6udnffnv4h/gh-grader-preview
git@knot.bwc9876.dev:bwc9876.dev/gh-grader-preview git@knot.bwc9876.dev:did:plc:x7tlupbnqot7nu6udnffnv4h/gh-grader-preview

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

GitHub Grader Preview#

Simple program that runs test cases specified in an autograding.json file and reports results. Useful for previewing how GitHub will run your autograder and project.

This will only work on Linux as it uses bash. Also most GitHub auto-graders runs on the Ubuntu runner image so the commands are gonna be Linux specific anyway.

Usage#

gh-grader-preview

Will auto-find the autograding.json file located in .github/classroom relative to the current dir.

You can specify -f to choose a different file.

gh-grader-preview -f some/other/dir/autograding.json

For more information, run gh-grader-preview -h.

Building#

cargo build --release