Sarah Hoffmann
9410263485
actions: use newest pytest-asyncio for ubuntu 20
2024-05-02 11:06:45 +02:00
Sarah Hoffmann
edb1eec46d
actions: run legacy test against newest postgresql 16
2024-03-05 19:38:06 +01:00
marc tobias
b7eea4d53a
Github Actions: add codespell linter, warn only
2024-03-04 00:22:24 +01:00
Sarah Hoffmann
173e85c9e6
actions: make php the legacy tests
2024-02-19 18:39:01 +01:00
Sarah Hoffmann
b087f3ab7b
actions: switch no-superuser test to PostgreSQL 16
...
The new premission restrictions on the public schema took only
place in PG15, so the previsouly used PG14 does not show any issues.
2024-02-16 17:14:47 +01:00
Robbe Haesendonck
5f7cc91cf9
Connect using localhost instead of socket
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
424c1f0d41
Added changing permissions of nominatim-project dir
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
cff05394a1
Added osm-import to sudoers file for tokenizer setup
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
638b40c3ec
Fixing CI tests for install-no-superuser
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
482f7fe3ba
CI tests: Removed creation of user www-data.
...
Removed creation of user www-data as it already exists
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
59ae63e6f5
Updated no-superuser install ci test
...
Added nominatim_database_webuser (www-data).
Set non-superuser password for importing
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
58db0ad6d8
Fixed formatting
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
3b09c39dbf
Updated ci tests to reflect changes in Nominatim CLI
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
22204050f2
Added new psql user for importing the data
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
e7b8e1a2c2
Fixed ci-tests, osm-file flag
...
Preparing database should work without osm-file
2023-12-07 09:04:33 +01:00
Robbe Haesendonck
b4e3d0ea44
Updated CI tests to check new import flags
2023-12-07 09:04:33 +01:00
Sarah Hoffmann
3c32c0354a
actions: pin pytest-asyncio version for Ubuntu 20
...
Newest versions are no longer compatible with older pytest.
2023-12-04 14:32:03 +01:00
Sarah Hoffmann
1149578e8f
actions: enable sqlite testing
2023-10-23 17:19:12 +02:00
Sarah Hoffmann
b4a4ca81d1
actions: update to checkout v4
2023-09-05 11:44:12 +02:00
Sarah Hoffmann
ed19340af0
add python frontend tests to CI
2023-06-22 17:29:44 +02:00
Sarah Hoffmann
b79d5494f9
remove support for sanic framework
...
There is no performance gain over falcon or starlette but the special
structure of sanic makes it hard to have exchangable code
2023-06-21 10:53:57 +02:00
biswajit-k
11a1191ba0
add ci-test for taginfo file generation
2023-05-21 23:49:04 +05:30
Sarah Hoffmann
6c6b1c0606
add typing information for pygments to requirements
2023-02-14 11:58:08 +01:00
Sarah Hoffmann
a5f5add630
actions: use token to avoid rate limiting
2023-02-14 11:57:37 +01:00
Sarah Hoffmann
95c90a785f
actions: force PHPUnit 9
...
PHPUnit 10 is incompatible with our tests. Not worth adapting anymore.
2023-02-04 21:22:22 +01:00
Sarah Hoffmann
a1d4e53eb8
add pytest-asyncio as a requirement for testing
2023-01-30 09:36:17 +01:00
Sarah Hoffmann
2156fd4909
adapt annotations for SQLAlchemy 2.x
...
It is not possible to produce type annotations that work with both
versions 1.4 and 2.0. So keep to the principle of only supporting
newest versions when it comes to mypy. This means that some types
may have to be string quoted to not cause issues when running with
SQLAlchemy 1.4.
2023-01-28 11:51:26 +01:00
Sarah Hoffmann
77bec1261e
add streaming json writer for JSON output
2023-01-25 15:05:33 +01:00
Sarah Hoffmann
e490a30a4a
add support for CORS headers
...
Adds the additional dependency to sanic-cors for the Sanic server.
2023-01-24 21:39:19 +01:00
Sarah Hoffmann
cb73d562d5
actions: move tests from Ubuntu 18 to 20
...
These are the tests that try to make sure old library version really
still work as expected. Increases PHP to 7.3 because 7.2 has errors.
2023-01-05 16:55:32 +01:00
Sarah Hoffmann
31d0468cd2
no type checking on old Ubuntu 18
2023-01-03 10:03:00 +01:00
Sarah Hoffmann
9646ec4edd
drop official support for Ubuntu 18
2023-01-03 10:03:00 +01:00
Sarah Hoffmann
c665796c52
drop support for Python 3.6
2023-01-03 10:03:00 +01:00
Sarah Hoffmann
a72e2ecb3f
update dependencies for Actions
2023-01-03 10:03:00 +01:00
Sarah Hoffmann
26a5b59c28
add types-requests dependency
2022-11-09 09:12:37 +01:00
Marc Tobias
253127cb9f
update those github action packages still using node12
2022-11-08 15:16:55 +01:00
Sarah Hoffmann
ebe23d6882
update CI tests to postgresql 15
2022-11-04 16:21:15 +01:00
Tareq Al-Ahdal
74019877a4
Added the feature of collecting host system information to the CI tests
2022-08-13 06:22:13 +08:00
Sarah Hoffmann
f40c83d025
CIL use psutil type stubs
2022-07-18 09:55:58 +02:00
Sarah Hoffmann
cb81f11422
CI: make type checking strict
2022-07-18 09:55:58 +02:00
Sarah Hoffmann
7b042de300
CI: install type info for psycopg2
2022-07-18 09:47:57 +02:00
Sarah Hoffmann
2be45a35b4
CI: add mypy to tests
2022-07-18 09:47:57 +02:00
marc tobias
c70ca7f57b
In tests for PHP 8 disable Just-in-time, it conflicts with tools that determine coverage
2022-07-09 22:03:48 +02:00
Marc Tobias
a6dab5e300
Vagrant and CI tests for Ubuntu 22.04
2022-07-09 22:03:48 +02:00
Sarah Hoffmann
b5ac546275
CI: always use the latest version of pylint
...
This makes it easier to reproduce issues locally.
2022-05-31 09:12:26 +02:00
Sarah Hoffmann
11103268e9
make legacy tokenizer tests the extra on CI
2022-05-10 18:33:34 +02:00
Marc Tobias
821dabb138
add git commit hash to --version output
2022-05-09 23:56:13 +02:00
Sarah Hoffmann
c3f206733f
really remove CentOS from CI
2022-02-05 16:07:12 +01:00
Sarah Hoffmann
69481d1590
remove CentOS from CI
...
The CentOS docker image no longer works after CentOS8 went EOL.
See #2601 for discussion.
2022-02-05 15:14:47 +01:00
Sarah Hoffmann
c50c534d19
Merge pull request #2597 from lonvia/reorganise-interpolations
...
Reorganise interpolation code
2022-01-28 08:40:08 +01:00