Skip to content

Commit

Permalink
Run CI on Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jan 22, 2024
1 parent 9cccdc5 commit 05f81c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -30,7 +30,7 @@ jobs:

phpunit-mysql:
name: PHPUnit MySQL
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:

phpunit-mariadb:
name: PHPUnit MariaDB
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

phpunit-postgres:
name: PHPUnit PostgreSQL
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:

phpunit-sqlite:
name: PHPUnit SQLite
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:

phpunit-geos:
name: PHPUnit GEOS
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down
4 changes: 1 addition & 3 deletions tests/GeometryEngineTest.php
Expand Up @@ -219,9 +219,7 @@ public function testAzimuth(string $observerWkt, string $subjectWkt, ?float $azi
{
$geometryEngine = $this->getGeometryEngine();

if (! $this->isPostGIS()) {
$this->expectException(GeometryEngineException::class);
}
$this->requireEngine(['SpatiaLite', 'PostGIS']);

$observer = Point::fromText($observerWkt);
$subject = Point::fromText($subjectWkt);
Expand Down

0 comments on commit 05f81c2

Please sign in to comment.