Issue #89: try GitHub actions for Windows.

This commit is contained in:
Sergey Vartanov 2021-09-24 19:42:29 +03:00
parent c40af57cb7
commit 22037ab5f0

View file

@ -30,3 +30,26 @@ jobs:
- name: Test with pytest
run: |
pytest -v
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black flake8 pytest
pip install -r requirements.txt
pip install .
- name: Check code style with Black
run: |
black -l 80 --check map_machine tests
- name: Lint with Flake8
run: |
flake8 --max-line-length=80 --ignore=E203,W503
- name: Test with pytest
run: |
pytest -v