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
* [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: