mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 05:14:07 +00:00
actions: restrict linting to newest version
This commit is contained in:
4
.github/workflows/ci-tests.yml
vendored
4
.github/workflows/ci-tests.yml
vendored
@@ -102,18 +102,22 @@ jobs:
|
|||||||
|
|
||||||
- name: Install latest pylint/mypy
|
- name: Install latest pylint/mypy
|
||||||
run: pip3 install -U pylint mypy types-PyYAML types-jinja2 types-psycopg2 types-psutil types-requests typing-extensions
|
run: pip3 install -U pylint mypy types-PyYAML types-jinja2 types-psycopg2 types-psutil types-requests typing-extensions
|
||||||
|
if: matrix.ubuntu == 22
|
||||||
|
|
||||||
- name: PHP linting
|
- name: PHP linting
|
||||||
run: phpcs --report-width=120 .
|
run: phpcs --report-width=120 .
|
||||||
working-directory: Nominatim
|
working-directory: Nominatim
|
||||||
|
if: matrix.ubuntu == 22
|
||||||
|
|
||||||
- name: Python linting
|
- name: Python linting
|
||||||
run: pylint nominatim
|
run: pylint nominatim
|
||||||
working-directory: Nominatim
|
working-directory: Nominatim
|
||||||
|
if: matrix.ubuntu == 22
|
||||||
|
|
||||||
- name: Python static typechecking
|
- name: Python static typechecking
|
||||||
run: mypy --strict nominatim
|
run: mypy --strict nominatim
|
||||||
working-directory: Nominatim
|
working-directory: Nominatim
|
||||||
|
if: matrix.ubuntu == 22
|
||||||
|
|
||||||
|
|
||||||
- name: PHP unit tests
|
- name: PHP unit tests
|
||||||
|
|||||||
Reference in New Issue
Block a user