-
Notifications
You must be signed in to change notification settings - Fork 5
67 lines (59 loc) · 1.63 KB
/
ut.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
61
62
63
64
65
66
67
name: DPLC's Algorithm Engineering python test
on:
push:
pull_request:
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Update base environment
run: |
source $CONDA/bin/activate
$CONDA/bin/conda update -n base -c defaults conda
- name: Install dplc sample code.
run: |
source $CONDA/bin/activate
$CONDA/bin/conda install setuptools
$CONDA/bin/conda install pip
$CONDA/bin/conda
python3 setup.py install
- name: Test YuzhiZhang's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_YuzhiZhang.py -v -n auto
- name: Test MaohuaYang's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_MaohuaYang.py -v -n auto
- name: Test Yannan Yuan's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_YannanYuan.py -v -n auto
- name: Test YiboWang's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_YiboWang.py -v -n auto
- name: Test YuhangWang's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_YuhangWang.py -v -n auto
- name: Test JijieZou's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_JijieZou.py -v -n auto
- name: Test QiangqiangGu's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_QiangqiangGu.py -v -n auto