From 97b4358550d99e28c00f119aa20c3e8948a86c2c Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 20 Nov 2023 16:58:41 -0500 Subject: [PATCH] does this pass the CI --- .github/workflows/integration.yml | 40 +++++++++++++++++++------------ 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index c4d5581d..004d8679 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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