Skip to content

Update autograding workflow #4

Update autograding workflow

Update autograding workflow #4

Workflow file for this run

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: hw3-1
id: hw3-1
uses: classroom-resources/autograding-io-grader@v1
with:
test-name: hw3-1.c
setup-command: |
gcc hw3-1.c -o hw3-1
command: "./hw3-1"
expected-output: Hello World
comparison-method: exact
timeout: 10
max-score: 10
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
TEST_RESULTS: "${{steps.test.outputs.result}}"
with:
runners: hw3-1