Skip to content

Commit

Permalink
GitHub Classroom Autograding Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
github-classroom[bot] authored Nov 11, 2024
1 parent 08d0d32 commit 4d9b7c0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Autograding Tests
'on':
- push
- repository_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
run-autograding-tests:
runs-on: ubuntu-latest
if: github.actor != 'github-classroom[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Test Conditions
id: test-conditions
uses: classroom-resources/autograding-command-grader@v1
with:
test-name: Test Conditions
setup-command: npm install
command: npm run test run conditions
timeout: 10
max-score: 4
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
TEST-CONDITIONS_RESULTS: "${{steps.test-conditions.outputs.result}}"
with:
runners: test-conditions

0 comments on commit 4d9b7c0

Please sign in to comment.