-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (25 loc) · 955 Bytes
/
event_push.yaml
File metadata and controls
29 lines (25 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Модуль содержит тесты для события push.
name: push event
on:
push:
jobs:
linter:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9' ]
name: linters with python ${{ matrix.python-version }} # Удобно же видеть какая сейчас версия.
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8==4.0.1 mypy==0.950 wemake-python-styleguide==0.16.1 types-requests==2.27.29
- name: Flake8
run: flake8 .
- name: Mypy
run: mypy .