This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Merge pull request #3 from education/aggregate-pipeline-scores #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Autograding Tests | |
'on': | |
- push | |
- workflow_dispatch | |
permissions: | |
checks: write | |
actions: read | |
contents: read | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Shout Test | |
id: shout-test | |
uses: education/autograding-io-grader@main | |
with: | |
test-name: Shout Test | |
command: "./test/bin/shout.sh" | |
input: hello | |
expected-output: HELLO | |
comparison-method: exact | |
timeout: 10 | |
max-score: 100 | |
- name: Autograding Reporter | |
uses: ./ | |
env: | |
SHOUT-TEST_RESULTS: "${{steps.shout-test.outputs.result}}" | |
with: | |
runners: shout-test |