Run tests on different OS

This commit is contained in:
Alex Root Junior 2020-01-21 23:40:40 +02:00
parent 7b1d2d364d
commit 449f1ce2c5

View file

@ -14,6 +14,10 @@ jobs:
strategy: strategy:
max-parallel: 4 max-parallel: 4
matrix: matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version: python-version:
- 3.7 - 3.7
- 3.8 - 3.8
@ -30,13 +34,12 @@ jobs:
run: | run: |
python -m pip install --upgrade pip poetry==1.0 python -m pip install --upgrade pip poetry==1.0
poetry install poetry install
mkdir -p reports
- name: Lint code - name: Lint code
run: | run: |
make flake8 poetry run flake8 aiogram test
make mypy poetry run mypy aiogram tests
- name: Run tests - name: Run tests
run: | run: |
make test-coverage poetry run pytest