-
Notifications
You must be signed in to change notification settings - Fork 39
43 lines (31 loc) · 880 Bytes
/
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
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.12'
- 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