-
Notifications
You must be signed in to change notification settings - Fork 37
62 lines (46 loc) · 1.29 KB
/
test.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
name: Test
on:
push:
branches: [ main ]
pull_request:
jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
run: |
sudo apt-get update && sudo apt-get install -y python3-tk xvfb
python3 -m pip install -U pytest
python3 -m pip install -U -r requirements.txt
- name: Test
run: |
cd autoortho
pytest --log-level=DEBUG -v test_getortho.py test_pydds.py test_downloader.py
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Setup
run: |
python3.10 -m pip install -U pytest
python3.10 -m pip install -U -r requirements.txt
- name: Test
run: |
cd autoortho
pytest --log-level=DEBUG -v test_getortho.py test_pydds.py test_downloader.py
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Setup
run: |
python -m pip install -U -r requirements.txt
- name: Test
run: cd autoortho && python -m pytest -v test_getortho.py test_pydds.py test_downloader.py