File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,22 @@ Upon completion of the grading process, the `autograder-submit-feedback`
33
33
function is called with grading results, again relying on the GitHub OIDC token
34
34
to authenticate.
35
35
36
- ## Transpile before pushing
36
+ ## Development tips
37
+
38
+ ### Run the grader locally
39
+
40
+ To test changes to the grader, you can run it locally without invoking GitHub
41
+ Actions or interfacing with Pawtograder at all:
42
+
43
+ ``` bash
44
+ npx tsimp src/grader/main.ts -s /full/path/to/solution/repo -u /full/path/to/submission/repo
45
+ ```
46
+
47
+ A significant amount of output will be printed to the console, including a
48
+ pretty-printed JSON object with the results of the grading that would be passed
49
+ along to Pawtograder.
50
+
51
+ ### Transpile before pushing
37
52
38
53
GitHub Actions will only run JS, so we need to transpile before pushing:
39
54
You can’t perform that action at this time.
0 commit comments