-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcircle.yml
More file actions
71 lines (58 loc) · 1.39 KB
/
circle.yml
File metadata and controls
71 lines (58 loc) · 1.39 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: 2.1
workflows:
test:
jobs:
- job-py39
- job-py310
- job-py311
- job-py312
- job-py313
jobs:
job-py39: &job-template
docker:
- image: cimg/python:3.9
working_directory: ~/repo
steps:
- checkout
- run:
name: install dependencies
command: |
python -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
- run:
name: run unittest
command: |
. venv/bin/activate
python -m unittest discover test
- run:
name: test components
command: |
. venv/bin/activate
python -m test_component
- run:
name: test sample
command: |
. venv/bin/activate
# python -m main -m lenet -r hp1 -d MNIST
- store_artifacts:
path: test-reports
destination: test-reports
job-py310:
<<: *job-template
docker:
- image: cimg/python:3.10
job-py311:
<<: *job-template
docker:
- image: cimg/python:3.11
job-py312:
<<: *job-template
docker:
- image: cimg/python:3.12
job-py313:
<<: *job-template
docker:
- image: cimg/python:3.13