CI: always use the latest version of pylint

This makes it easier to reproduce issues locally.
This commit is contained in:
Sarah Hoffmann 2022-05-31 09:12:26 +02:00
parent 46689df668
commit b5ac546275
2 changed files with 6 additions and 3 deletions

View File

@ -81,13 +81,16 @@ jobs:
ubuntu: ${{ matrix.ubuntu }}
- name: Install test prerequsites
run: sudo apt-get install -y -qq pylint python3-pytest python3-behave
run: sudo apt-get install -y -qq python3-pytest python3-behave
if: matrix.ubuntu == 20
- name: Install test prerequsites
run: pip3 install pylint==2.6.0 pytest behave==1.2.6
run: pip3 install pytest behave==1.2.6
if: matrix.ubuntu == 18
- name: Install latest pylint
run: pip3 install pylint
- name: PHP linting
run: phpcs --report-width=120 .
working-directory: Nominatim

View File

@ -32,7 +32,7 @@ It has the following additional requirements:
* [behave test framework](https://behave.readthedocs.io) >= 1.2.6
* [phpunit](https://phpunit.de) (9.5 is known to work)
* [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
* [Pylint](https://pylint.org/) (2.6.0 is used for the CI)
* [Pylint](https://pylint.org/) (CI always runs the latest version from pip)
* [pytest](https://pytest.org)
The documentation is built with mkdocs: