File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Autograding Tests
2+ ' on ' :
3+ - push
4+ - repository_dispatch
5+ permissions :
6+ checks : write
7+ actions : read
8+ contents : read
9+ jobs :
10+ run-autograding-tests :
11+ runs-on : ubuntu-latest
12+ if : github.actor != 'github-classroom[bot]'
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+ - name : Correct Project Structure
17+ id : correct-project-structure
18+ uses : classroom-resources/autograding-command-grader@v1
19+ with :
20+ test-name : Correct Project Structure
21+ setup-command : ' '
22+ command : " ./.csse6400/bin/validate_structure.sh"
23+ timeout : 4
24+ max-score : 75
25+ - name : Clean Git Repository
26+ id : clean-git-repository
27+ uses : classroom-resources/autograding-command-grader@v1
28+ with :
29+ test-name : Clean Git Repository
30+ setup-command : ' '
31+ command : " ./.csse6400/bin/clean_repository.sh"
32+ timeout : 4
33+ max-score : 25
34+ - name : Autograding Reporter
35+ uses : classroom-resources/autograding-grading-reporter@v1
36+ env :
37+ CORRECT-PROJECT-STRUCTURE_RESULTS : " ${{steps.correct-project-structure.outputs.result}}"
38+ CLEAN-GIT-REPOSITORY_RESULTS : " ${{steps.clean-git-repository.outputs.result}}"
39+ with :
40+ runners : correct-project-structure,clean-git-repository
You can’t perform that action at this time.
0 commit comments