-
Notifications
You must be signed in to change notification settings - Fork 5
80 lines (69 loc) · 1.93 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
68
69
70
71
72
73
74
75
76
77
78
79
80
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
- name: Test ZYZH's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_ZYZH.py -v -n auto
- name: Test ZixiGan's codes.
run: |
source $CONDA/bin/activate
cd tests
pytest test_ZixiGan.py -v -n auto