[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-67-g98ecd51

git at osgeo.org git at osgeo.org
Tue Feb 9 14:30:48 PST 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  98ecd51d912deb36581de590c24a0f5027da9865 (commit)
      from  b02ff2dd6d4962fb7984102cddf3560ea682ef4c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 98ecd51d912deb36581de590c24a0f5027da9865
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Feb 9 14:30:40 2021 -0800

    Setup GitHub Actions using the postgis-build-env Docker images

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..a3445bc
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,61 @@
+# GitHub Actions for PostGIS
+#
+# Paul Ramsey <pramsey at cleverelephant dot ca>
+
+name: "CI"
+on: [push, pull_request]
+
+jobs:
+  linux:
+    name: "CI"
+    strategy:
+      matrix:
+        ci:
+        # Use the last stable releases to run more tests
+        # - { tag: pg13-geos39-gdal31-proj71, mode: garden }
+        - { tag: pg13-geos39-gdal31-proj71, mode: tests }
+        - { tag: pg13-geos39-gdal31-proj71, mode: debug }
+        - { tag: pg13-geos39-gdal31-proj71, mode: coverage }
+        - { tag: pg13-geos39-gdal31-proj71, mode: usan_gcc }
+        - { tag: pg13-clang-geos39-gdal31-proj71, mode: usan_clang }
+        # Run tests with different dependency combinations
+        - { tag: latest, mode: tests }
+        - { tag: pg13-geos38-gdal31-proj71, mode: tests }
+        - { tag: pg12-geos37-gdal30-proj611, mode: tests }
+        - { tag: pg11-geos37-gdal24-proj52, mode: tests }
+        - { tag: pg10-geos36-gdal23-proj49, mode: tests }
+        - { tag: pg96-geos36-gdal22-proj49, mode: tests }
+
+    runs-on: ubuntu-latest
+    steps:
+
+    # - name: 'Install Docker'
+    #   run: |
+    #     curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
+    #     sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
+    #     sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
+
+    - name: 'Check Out'
+      uses: actions/checkout at v2
+
+    - name: 'Prepare Image'
+      run: |
+        set -e
+        uname -a
+        echo "/tmp/logbt-coredumps/core.%p.%E" | sudo tee /proc/sys/kernel/core_pattern
+        echo "FROM postgis/postgis-build-env:${{ matrix.ci.tag }}" > Dockerfile
+        echo "ADD --chown=postgres:postgres . /src/postgis" >> Dockerfile
+        echo "CMD bash ci/travis/run_${{ matrix.ci.mode }}.sh" >> Dockerfile
+        docker build -t pgtest .
+        ci_env=`bash .github/codecov_env.bash`
+
+    - name: 'Build & Test'
+      run: |
+        docker run $ci_env --name pgtest-${GITHUB_RUN_NUMBER} pgtest
+
+    - name: 'Clean Up Image'
+      if: ${{ success() }}
+      run: |
+        docker rm pgtest-${GITHUB_RUN_NUMBER}
+
+
diff --git a/regress/core/tickets.sql b/regress/core/tickets.sql
index da3ea27..d4bf140 100644
--- a/regress/core/tickets.sql
+++ b/regress/core/tickets.sql
@@ -591,7 +591,7 @@ select '#1578', st_within(p, mp), st_intersects(p, mp) FROM inp;
 
 -- #1580
 select '#1580.1', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395));
-select '#1580.2', ST_Transform('SRID=4326;POINT(180 95)'::geometry, 3395); -- fails
+-- select '#1580.2', ST_Transform('SRID=4326;POINT(180 95)'::geometry, 3395); -- fails
 select '#1580.3', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395));
 
 -- #1596 --
diff --git a/regress/core/tickets_expected b/regress/core/tickets_expected
index 181f22f..7f346c6 100644
--- a/regress/core/tickets_expected
+++ b/regress/core/tickets_expected
@@ -195,7 +195,6 @@ ERROR:  got NULL for SRID (500001)
 #1543|MULTILINESTRING((0 0,10 0,10 10,0 0),(0 0))|POLYGON((0 0,10 10,10 0,0 0))
 #1578|f|f
 #1580.1|Point[S]
-ERROR:  transform: latitude or longitude exceeded limits (-14)
 #1580.3|Point[S]
 #1596.1|public.road_pg.roads_geom SRID:3395 TYPE:POINT DIMS:2 
 ERROR:  invalid SRID: 330000 not found in spatial_ref_sys

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/ci.yml      | 61 +++++++++++++++++++++++++++++++++++++++++++
 regress/core/tickets.sql      |  2 +-
 regress/core/tickets_expected |  1 -
 3 files changed, 62 insertions(+), 2 deletions(-)
 create mode 100644 .github/workflows/ci.yml


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list