Skip to content

add deadline

add deadline #1

Workflow file for this run

name: Autograding Tests
'on':
- push
- workflow_dispatch
- repository_dispatch
permissions:
checks: write
actions: read
contents: read
jobs:
run-autograding-tests:
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.actor != 'github-classroom[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download mempool
uses: GuillaumeFalourd/[email protected]
with:
owner: 'SummerOfBitcoin'
repository: 'code-challenge-2024-mempool'
- name: Validate block
id: validate-block
uses: SummerOfBitcoin/[email protected]
with:
test-name: 'Validate block '
command: chmod +x ./run.sh && ./run.sh
timeout: 10
max-fee: 20616923
max-score: 100
passing-score: 60
- name: Autograding Reporter
uses: SummerOfBitcoin/[email protected]
env:
VALIDATE-BLOCK_RESULTS: "${{steps.validate-block.outputs.result}}"
with:
runners: validate-block