# This workflow will: # # * install Python dependencies # * lint with a single version of Python # # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Push-Checks on: push: branches: [ develop ] jobs: build: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Python 3.7 uses: actions/setup-python@v2 with: python-version: 3.7 - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 env: ROOT_SHA: ${{github.base_ref}} run: | DATA=$(python3 <