diff --git a/.appveyor.yml b/.appveyor.yml index 8a6400d..e84c302 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,6 +11,7 @@ image: environment: PERL5LIB: /home/appveyor/perl5/lib/perl5 AUTOMATED_TESTING: 1 + # TEST_VERBOSE: 1 DEBIAN_FRONTEND: noninteractive PERL_MM_USE_DEFAULT: 1 NO_NETWORK_TESTING: 1 @@ -27,14 +28,15 @@ install: - cmd: if not exist "C:\strawberry" cinst StrawberryPerl --allow-empty-checksums - cmd: path C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH% # - cmd: cd C:\projects\%APPVEYOR_PROJECT_NAME% - - sh: sudo apt-get update -q -y - - sh: sudo DEBIAN_FRONTEND=noninteractive apt-get install -q -y --force-yes build-essential git libssl-dev perl + # Currently fails on http://apt.postgresql.org/pub/repos/apt bionic-pgdg Release + # - sh: sudo apt update -q -y + - sh: sudo DEBIAN_FRONTEND=noninteractive apt install -q -y --force-yes build-essential git libssl-dev perl - sh: export PATH=/home/appveyor/perl5/bin:$PATH - perl -V - cmd: mkdir %APPVEYOR_BUILD_FOLDER%\tmp - cmd: set TMPDIR=%APPVEYOR_BUILD_FOLDER%\tmp - cpan App::cpanminus - - cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -n + - cmd: cpanm -q --showdeps --with-develop --with-suggests . | findstr /v "^perl\>" | cpanm -qin --skip-satisfied - cpanm -qin --skip-satisfied --installdeps . - cmd: 'echo End install at: & time /t' diff --git a/Changes b/Changes index 8cccdd7..4295edb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Geo-Coder-List +0.33 + Fix test count in t/googleplaces.t + 0.32 Sat Oct 7 10:07:45 EDT 2023 Set "geocoder" to "cached" when the values have been retrieved from the L2 cache diff --git a/t/free.t b/t/free.t index 42276e4..e4c1966 100644 --- a/t/free.t +++ b/t/free.t @@ -76,7 +76,7 @@ FREE: { $location = $geo_coder_list->geocode(location => 'Margate, Kent, England'); ok(defined($location)); cmp_deeply($location, - methods('lat' => num(51.38, 1e-2), 'long' => num(1.38, 1e-2))); + methods('lat' => num(51.38, 1e-2), 'long' => num(1.38, 1e-1))); } else { SKIP: { skip('Set OPENADDR_HOME to enable extra tests', 2); diff --git a/t/googleplaces.t b/t/googleplaces.t index 8340073..01971e3 100644 --- a/t/googleplaces.t +++ b/t/googleplaces.t @@ -58,7 +58,7 @@ GOOGLEPLACES: { ok(!defined($geocoderlist->geocode(''))); } else { diag('Set GMAP_KEY to enable more tests'); - skip 'GMAP_KEY not set', 16; + skip 'GMAP_KEY not set', 14; } } }