mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-22 23:17:47 +01:00
Conditionals
This commit is contained in:
parent
ebaac1f573
commit
97077d31b2
9
.github/workflows/flake8.yaml
vendored
9
.github/workflows/flake8.yaml
vendored
@ -7,13 +7,11 @@ on:
|
||||
branches: [ main, master, dev, development ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.4, 3.5, 3.6, 3.7, 3.8, 3.9]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
@ -23,8 +21,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8 wemake-python-styleguide
|
||||
pip install flake8
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Install wemake-python-styleguide
|
||||
run: pip install wemake-python-styleguide
|
||||
if: endsWith( matrix.python-version, '6')
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
|
Loading…
Reference in New Issue
Block a user