-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (53 loc) · 1.17 KB
/
unittests.yml
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
name: Run tests
on: [push]
jobs:
py_three_nine:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Check cmake
run: |
cmake --version
- name: run install
run: |
python3 setup.py install
- name: install torch for testing only
run: |
pip3 install torch
- name: run unit tests
run: |
cd test
python3 runtests.py
py_three_eleven:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Check cmake
run: |
cmake --version
- name: run install
run: |
python3 setup.py install
- name: install torch for testing only
run: |
pip3 install torch
- name: run unit tests
run: |
cd test
python3 runtests.py