mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 11:25:54 +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:
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue