Sarah Hoffmann
c335025167
CI: install locale for CentOS
2021-09-19 13:49:11 +02:00
Sarah Hoffmann
2c97af8021
CI: use packaged source also for test runs
2021-08-24 10:10:01 +02:00
Sarah Hoffmann
832f75a55e
CI: unify jobs for different vagrant scripts
2021-08-24 10:10:01 +02:00
Sarah Hoffmann
4e77969545
add workflow for centos 8
2021-08-24 10:10:01 +02:00
Sarah Hoffmann
6ebbbfee61
CI: use vagrant scripts for import tests
...
Use vanilla docker images of Ubuntu and leave the setup
to the vagrant scripts. Then do the usual import tests.
Also fixes a couple of issues found with the scripts
2021-08-24 10:10:01 +02:00
Sarah Hoffmann
f6d22df76e
adapt CI workflow to new tokenizer name
2021-08-18 09:08:20 +02:00
Sarah Hoffmann
42e08da7ca
enable PHP 7.2 for Ubuntu 18 CI
2021-07-07 11:29:33 +02:00
Sarah Hoffmann
54f295be52
CI: run tests on older Ubuntu version as well
2021-07-06 22:57:42 +02:00
Sarah Hoffmann
4c52777ef0
Merge pull request #2371 from lonvia/increase-python-version
...
Increase minimum required Python version to 3.6
2021-07-05 10:32:38 +02:00
Sarah Hoffmann
c4f6c06f44
add dependency on datrie
2021-07-04 10:28:20 +02:00
Sarah Hoffmann
c7073a1fc0
increase minimum Python to 3.6
...
Python 3.6 introduces formatted string literals and
flag enums as well as a much faster dict implementation.
These changes make the code so much simpler as to warrant
dropping Python 3.5 support.
Affected distributions are Ubuntu 16.04 and Debian Stretch.
2021-06-21 18:37:37 +02:00
Sarah Hoffmann
38fbc4fcbb
do not fail CI on codecov errors
...
The CodeCove upload depends on unreliable external code.
2021-06-08 10:42:14 +02:00
Sarah Hoffmann
8f3429939f
CI: run BDD tests with legacy_icu tokenizer
2021-05-21 23:18:45 +02:00
Sarah Hoffmann
c8fb25201a
do not check for extra housenumber index for reverse-only
...
Also adds a database check for reverse only import to the CI.
2021-04-27 10:14:26 +02:00
Sarah Hoffmann
5ed6f18d83
add warming to CI import test
2021-04-26 09:54:09 +02:00
Sarah Hoffmann
9faaf3fc88
actions: add import on ubuntu 18.04
...
This uses oldest possible dependencies where possible.
2021-04-23 22:50:08 +02:00
Darkshredder
2bfea15fdc
Fixed BDD tests coverage reports
2021-04-05 06:30:31 +05:30
Darkshredder
771b3377c0
Added code-cov Support for Code Coverage
2021-03-31 05:00:03 +05:30
AntoJvlt
57ce75eb67
Change command 'import-special-phrases --from-wiki' to 'special-phrases --import-from-wiki'.
2021-03-26 02:22:38 +01:00
Sarah Hoffmann
b6c2dbf69c
actions: remove install directories before import
...
This ensures that any dangling references to the build
or source directory are caught by the CI.
2021-02-10 17:59:52 +01:00
Sarah Hoffmann
ed60154552
actions: test import with installed version of Nominatim
2021-02-10 16:17:52 +01:00
Sarah Hoffmann
109aa9c428
actions: switch to using separate project dir
...
Also fixes reverse-only import which not run at all.
2021-02-02 11:03:09 +01:00
Sarah Hoffmann
7ba5283fe8
actions: revert to reletive paths for caching
2021-02-02 10:37:18 +01:00
Sarah Hoffmann
98fe5af07d
actions: remove setting custom .env
...
It only set the pyosmium-get-changes binary which is no longer
needed.
2021-02-02 10:35:30 +01:00
Sarah Hoffmann
01e0fd7e13
whitelist pyosmium for pylint
2021-01-30 15:52:49 +01:00
Sarah Hoffmann
e8cfba1b10
pytest may also be installed as py-test[-3]
2021-01-15 17:22:31 +01:00
Sarah Hoffmann
496a3d29db
enable pytest testing in CI
2021-01-15 15:33:53 +01:00
Sarah Hoffmann
de724aa576
add pylint to list of required linting tools
...
With pylint being run in the CI, passing it is required now.
2021-01-15 10:43:04 +01:00
Sarah Hoffmann
2f73bb3643
bdd: directly call utility scripts in lib
...
This removes the dependency on php-symfony-dotenv for the tests.
2021-01-14 18:19:22 +01:00
Sarah Hoffmann
9348fc5e15
move dotenv parsing to installed PHP scripts
...
This means that the php-symfony-dotenv library is now only needed
when using the legacy scripts. This includes the BDD tests which
currently still rely on the PHP utils.
2021-01-14 18:06:22 +01:00
Sarah Hoffmann
97710ee9d1
use cli tool for github CI
2021-01-14 16:35:01 +01:00
Sarah Hoffmann
86cd5ddd65
also run BDD API tests in CI
2021-01-09 17:58:06 +01:00
Sarah Hoffmann
2ecec19df0
remove nose requirement from documentation
2021-01-03 17:23:44 +01:00
Sarah Hoffmann
63ad0cb498
github actions: need dotenv
2020-12-19 14:33:04 +01:00
Sarah Hoffmann
de03a0f924
work around failing CI tests
...
Force use of phpunit7 to avoid an issue with different sort order.
2020-12-18 10:58:09 +01:00
Sarah Hoffmann
1b62162e08
actions: run tests also on postgresql 9.5
...
This is the oldest version for which a postgis is available.
2020-12-12 20:55:54 +01:00
Sarah Hoffmann
13180989d9
Test --reverse-only with CI
2020-11-23 22:36:28 +01:00
Sarah Hoffmann
4147e04319
action: cache downloaded dependencies
2020-10-28 14:51:05 +01:00
Sarah Hoffmann
bd04c49bc1
actions: tweak database settings
...
Disabling fsync and friends should speed up the CI run
significantly.
2020-10-28 11:10:14 +01:00
Sarah Hoffmann
7bc0fc9611
switch CI to github acitons
2020-10-28 09:29:22 +01:00