This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
remove bin/build.mjs #43
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: | |
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 |