1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-22 23:17:47 +01:00

Conditionals

This commit is contained in:
Kendell R 2020-11-05 11:07:32 -08:00 committed by GitHub
parent ebaac1f573
commit 97077d31b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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