-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (35 loc) · 1.01 KB
/
classroom.yml
File metadata and controls
35 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CVD Multi-Task Optimization Tests
'on':
- push
- workflow_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: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: CVD Multi-Task Optimization Test
id: cvd-mtbo-test
uses: classroom-resources/autograding-python-grader@v1
with:
timeout: 600
max-score: 10
setup-command: |
python -m pip install --upgrade pip
pip install -r requirements.txt
test-command: pytest MTBO_assignment_test.py -v
- name: Autograding Reporter
uses: classroom-resources/autograding-grading-reporter@v1
env:
CVD_MTBO_TEST_RESULTS: "${{steps.cvd-mtbo-test.outputs.result}}"
with:
runners: cvd-mtbo-test