-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use latest version of grader Signed-off-by: Anmol Sharma <[email protected]> feat: use custome grader action Signed-off-by: Anmol Sharma <[email protected]>
- Loading branch information
1 parent
d7ea7a0
commit b61a611
Showing
3 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Autograding Tests | ||
'on': | ||
- push | ||
- workflow_dispatch | ||
- repository_dispatch | ||
permissions: | ||
checks: write | ||
actions: read | ||
contents: read | ||
jobs: | ||
run-autograding-tests: | ||
runs-on: ubuntu-latest | ||
if: github.actor != 'github-classroom[bot]' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: 'Validate block ' | ||
id: validate-block | ||
uses: SummerOfBitcoin/code-challenge-2024-grader@v2 | ||
with: | ||
test-name: 'Validate block ' | ||
setup-command: chmod +x ./run.sh && ./run.sh | ||
command: chmod +x ./test.sh && ./test.sh | ||
timeout: 10 | ||
max-fee: 20616923 | ||
max-score: 100 | ||
- name: Autograding Reporter | ||
uses: SummerOfBitcoin/autograding-grading-reporter@v2 | ||
env: | ||
VALIDATE-BLOCK_RESULTS: "${{steps.validate-block.outputs.result}}" | ||
with: | ||
runners: validate-block |
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
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