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

Commit

Permalink
does this pass the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn226 committed Nov 20, 2023
1 parent 973559f commit 97b4358
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
name: Test

on: [push]

name: Autograding Tests
"on":
- push
- workflow_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
integration:
run-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: octosteve/python-test-runner@add-additional-info
id: runner1
- uses: octosteve/python-test-runner@add-additional-info
id: runner2
- name: Show Output
- 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"
input: hello
expected-output: HELLO
comparison-method: exact
timeout: 10
max-score: 100
- name: Autograding Reporter
uses: ./
env:
RUNNER1_RESULTS: ${{steps.runner1.outputs.result}}
RUNNER2_RESULTS: ${{steps.runner2.outputs.result}}
SHOUT-TEST_RESULTS: "${{steps.shout-test.outputs.result}}"
with:
runners: "runner1,runner2"
runners: shout-test

0 comments on commit 97b4358

Please sign in to comment.