Merge pull request #286 from 206airmail/main #342
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.10' | |
- name: Setup | |
run: | | |
#choco --yes install winfsp | |
py -m pip install -U pytest | |
# Windows OS package install ecosystem is sketchy and broken. Just test min stuff ... | |
py -m pip install -U -r requirements-win-test.txt | |
- name: Test | |
run: cd autoortho && py -m pytest -v test_getortho.py test_pydds.py test_downloader.py |