From 9473bd0612d3ca6b3a2a62b8d9ea5a103503eadb Mon Sep 17 00:00:00 2001 From: toonn Date: Mon, 13 Jun 2022 15:22:09 +0200 Subject: 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. --- .github/workflows/python.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0