diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pylint.yml | 2 | ||||
-rw-r--r-- | .github/workflows/python.yml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c15f8f64..474b087f 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -5,10 +5,12 @@ on: paths: - '.github/workflows/pylint.yml' - '**.py' + - 'requirements.txt' pull_request: paths: - '.github/workflows/pylint.yml' - '**.py' + - 'requirements.txt' jobs: test_pylint: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index dc41318e..fe2c7e59 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -28,7 +28,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + # We need to ignore PyLint because we can't install the one we need for + # Python 2.7 and 3.5 + pip install -r <(grep -v pylint requirements.txt) - name: Flake8 and test run: | make test_flake8 test_doctest test_other |