diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index e197007..530311d 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -8,6 +8,9 @@ on: pull_request: types: [opened, synchronize, reopened] +defaults: + run: + shell: bash -leo pipefail {0} jobs: build-linux: @@ -36,7 +39,7 @@ jobs: # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore=E501,W503,F841,E203 - name: Test with pytest run: | pytest || true