Skip to content

799 avoid image build when not needed #969

799 avoid image build when not needed

799 avoid image build when not needed #969

Workflow file for this run

name: PEP8
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: fink-broker
run: |
flake8 fink_broker/*.py --count --show-source --statistics --ignore=E302,E501,E731
- name: bin
run: |
flake8 bin/*.py --count --show-source --statistics --ignore=E302,E501,E731