-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 964 Bytes
/
codestyle.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: codestyle
# <- standard block end ->
on:
push:
branches:
- main
pull_request:
branches:
- dev
- develop
- main
jobs:
build:
name: codestyle
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 4
matrix:
os: [ubuntu-20.04]
python-version: [3.8]
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
# python -m pip install --upgrade --user pip
pip install -r requirements/requirements_dev.txt
python --version
pip --version
pip list
shell: bash
# <- standard block end ->
- name: check codestyle
run: |
catalyst-check-codestyle --line-length 89