This came up today in class and was seemingly never caught until now – Nic and I had a discussion about it.
In both /.github/workflows/compile_tests.yml and /.github/workflows/clean_tests.yml, there is a job called sample-run which attempts to run students' scripts with two arguments:
The README clearly specifies that both scripts should only take one argument here and here.
This causes GitHub workflows to fail for seemingly (to students) no reason, if their scripts contain appropriate validation to ensure that the script is only called with 1 argument as intended.
These sample-run jobs should probably just removed entirely, but at the bare minimum, the solution is just to remove this extra argument since it doesn't seem to do anything.
This came up today in class and was seemingly never caught until now – Nic and I had a discussion about it.
In both
/.github/workflows/compile_tests.yml
and/.github/workflows/clean_tests.yml
, there is a job calledsample-run
which attempts to run students' scripts with two arguments:The README clearly specifies that both scripts should only take one argument here and here.
This causes GitHub workflows to fail for seemingly (to students) no reason, if their scripts contain appropriate validation to ensure that the script is only called with 1 argument as intended.
These
sample-run
jobs should probably just removed entirely, but at the bare minimum, the solution is just to remove this extra argument since it doesn't seem to do anything.