mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 00:49:55 +03:00
CI: always use the latest version of pylint
This makes it easier to reproduce issues locally.
This commit is contained in:
parent
46689df668
commit
b5ac546275
7
.github/workflows/ci-tests.yml
vendored
7
.github/workflows/ci-tests.yml
vendored
@ -81,13 +81,16 @@ jobs:
|
|||||||
ubuntu: ${{ matrix.ubuntu }}
|
ubuntu: ${{ matrix.ubuntu }}
|
||||||
|
|
||||||
- name: Install test prerequsites
|
- 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
|
if: matrix.ubuntu == 20
|
||||||
|
|
||||||
- name: Install test prerequsites
|
- 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
|
if: matrix.ubuntu == 18
|
||||||
|
|
||||||
|
- name: Install latest pylint
|
||||||
|
run: pip3 install pylint
|
||||||
|
|
||||||
- name: PHP linting
|
- name: PHP linting
|
||||||
run: phpcs --report-width=120 .
|
run: phpcs --report-width=120 .
|
||||||
working-directory: Nominatim
|
working-directory: Nominatim
|
||||||
|
@ -32,7 +32,7 @@ It has the following additional requirements:
|
|||||||
* [behave test framework](https://behave.readthedocs.io) >= 1.2.6
|
* [behave test framework](https://behave.readthedocs.io) >= 1.2.6
|
||||||
* [phpunit](https://phpunit.de) (9.5 is known to work)
|
* [phpunit](https://phpunit.de) (9.5 is known to work)
|
||||||
* [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
|
* [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)
|
* [pytest](https://pytest.org)
|
||||||
|
|
||||||
The documentation is built with mkdocs:
|
The documentation is built with mkdocs:
|
||||||
|
Loading…
Reference in New Issue
Block a user