mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 09:55:21 +00:00
Run tests on different OS
This commit is contained in:
parent
7b1d2d364d
commit
449f1ce2c5
1 changed files with 7 additions and 4 deletions
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
|
|
@ -14,6 +14,10 @@ jobs:
|
|||
strategy:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
python-version:
|
||||
- 3.7
|
||||
- 3.8
|
||||
|
|
@ -30,13 +34,12 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip poetry==1.0
|
||||
poetry install
|
||||
mkdir -p reports
|
||||
|
||||
- name: Lint code
|
||||
run: |
|
||||
make flake8
|
||||
make mypy
|
||||
poetry run flake8 aiogram test
|
||||
poetry run mypy aiogram tests
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
make test-coverage
|
||||
poetry run pytest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue