about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2022-06-13 15:22:09 +0200
committertoonn <toonn@toonn.io>2022-06-13 15:34:43 +0200
commit9473bd0612d3ca6b3a2a62b8d9ea5a103503eadb (patch)
tree8e0fac6dc5698037c403a4526ba0209b9d91a350
parentff909fab98f5941d9e59c983fed787256c35e12d (diff)
downloadranger-9473bd0612d3ca6b3a2a62b8d9ea5a103503eadb.tar.gz
GHActions: Refrain from installing PyLint for tests
Not all versions of Python we test with support installing the PyLint
version we need and the tests don't require PyLint anyway, so no need to
install any version of PyLint at all.
-rw-r--r--.github/workflows/python.yml4
1 files changed, 3 insertions, 1 deletions
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