-
Notifications
You must be signed in to change notification settings - Fork 39
47 lines (35 loc) · 1.06 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
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-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Setup
run: |
#choco --yes install winfsp
#py -m pip install --only-binary :all: greenlet==2.0.2
#py -m pip install --only-binary :all: eventlet==0.33.3
#py -m pip install -U pytest
py -m pip install -U -r requirements.txt
- name: Test
run: cd autoortho && py -m pytest -v test_getortho.py test_pydds.py test_downloader.py