Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Merge branch 'main' into jalafel/add-tests #58

Merge branch 'main' into jalafel/add-tests

Merge branch 'main' into jalafel/add-tests #58

Workflow file for this run

name: Autograding Tests
'on':
- push
- workflow_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- 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: A command test
id: a-command-test
uses: education/autograding-command-grader@main
with:
test-name: A command test
setup-command: bundle install
command: rspec hello_spec.rb
timeout: 10
max-score: 100
- name: Autograding Reporter
uses: ./
env:
SHOUT-TEST_RESULTS: "${{steps.shout-test.outputs.result}}"
A-COMMAND-TEST_RESULTS: "${{steps.a-command-test.outputs.result}}"
with:
runners: shout-test,a-command-test