This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Bump undici from 5.27.2 to 5.28.4 #184
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: | |
autograding: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install and build node assets | |
run: | | |
npm install --silent | |
npm run build | |
- uses: ruby/setup-ruby@v1 | |
- name: Shout Test | |
id: shout-test | |
uses: education/autograding-io-grader@v1 | |
with: | |
test-name: Shout Test | |
command: "./test/bin/shout.sh" | |
input: hello | |
expected-output: HELLO | |
comparison-method: exact | |
timeout: 10 | |
max-score: 10 | |
- name: A command test | |
id: a-command-test | |
uses: education/autograding-command-grader@v1 | |
with: | |
test-name: A command test | |
setup-command: bundle install | |
command: rspec hello_spec.rb | |
timeout: 10 | |
max-score: 20 | |
- name: Python test | |
id: python-test | |
uses: education/autograding-python-grader@v1 | |
- name: Python test with score | |
id: python-test-with-score | |
uses: education/autograding-python-grader@v1 | |
with: | |
max-score: 30 | |
- name: Autograding Reporter | |
uses: ./ | |
env: | |
SHOUT-TEST_RESULTS: "${{steps.shout-test.outputs.result}}" | |
A-COMMAND-TEST_RESULTS: "${{steps.a-command-test.outputs.result}}" | |
PYTHON-TEST_RESULTS: "${{steps.python-test.outputs.result}}" | |
PYTHON-TEST-WITH-SCORE_RESULTS: "${{steps.python-test-with-score.outputs.result}}" | |
with: | |
runners: shout-test,a-command-test,python-test,python-test-with-score |