-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Disable ckan test Disable CI/CD CKAN test due to CloudFlare check * Fix Postgres version * Fix oproc geopython/pygeoapi#1901 * Disable flakey test Revert "Use non 5000 port for test" This reverts commit a7811f1.
- Loading branch information
Showing
5 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ jobs: | |
postgresql db: 'test' | ||
- name: Install and run SensorThingsAPI | ||
uses: cgs-earth/[email protected] | ||
- name: Run pygeoapi | ||
run: | | ||
docker run -d -it --rm -p 5000:80 $(docker build -q .) | ||
# - name: Run pygeoapi | ||
# run: | | ||
# docker run -d -it --rm -p 5000:80 $(docker build -q .) | ||
- name: Install requirements 📦 | ||
run: | | ||
pip3 install https://github.com/geopython/pygeoapi/archive/refs/heads/master.zip | ||
|
@@ -38,10 +38,10 @@ jobs: | |
env: | ||
POSTGRESQL_PASSWORD: ${{ env.POSTGRESQL_PASSWORD }} | ||
run: | | ||
pytest tests/test_ckan_provider.py | ||
# pytest tests/test_ckan_provider.py | ||
pytest tests/test_geopandas_provider.py | ||
pytest tests/test_postgresql_provider.py | ||
pytest tests/test_sensorthings_edr_provider.py | ||
pytest tests/test_sitemap_process.py | ||
# pytest tests/test_sitemap_process.py | ||
pytest tests/test_sparql_provider.py | ||
pytest tests/test_xml_formatter.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Author: Benjamin Webb <[email protected]> | ||
# | ||
# Copyright (c) 2023 Center for Geospatial Solutions | ||
# Copyright (c) 2025 Center for Geospatial Solutions | ||
# | ||
# Permission is hereby granted, free of charge, to any person | ||
# obtaining a copy of this software and associated documentation | ||
|
@@ -131,11 +131,12 @@ def __init__(self, processor_def): | |
LOGGER.debug('IntersectionProcesser init') | ||
super().__init__(processor_def, PROCESS_DEF) | ||
|
||
def execute(self, data): | ||
def execute(self, data, outputs=None): | ||
""" | ||
Execute Intersection Process | ||
:param data: processor arguments | ||
:param outputs: processor outputs | ||
:returns: 'application/json' | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Author: Benjamin Webb <[email protected]> | ||
# | ||
# Copyright (c) 2023 Center for Geospatial Solutions | ||
# Copyright (c) 2025 Center for Geospatial Solutions | ||
# | ||
# Permission is hereby granted, free of charge, to any person | ||
# obtaining a copy of this software and associated documentation | ||
|
@@ -147,11 +147,12 @@ def __init__(self, processor_def): | |
self.base_url = self.config['server']['url'] | ||
self.xml = XMLFormatter({}) | ||
|
||
def execute(self, data): | ||
def execute(self, data, outputs=None): | ||
""" | ||
Execute Sitemap Process | ||
:param data: processor arguments | ||
:param outputs: processor outputs | ||
:returns: 'application/json' | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
pygeoapi | ||
geoalchemy | ||
geopandas | ||
numpy<2.0.0 | ||
numpy==2.0.1 | ||
psycopg2 | ||
pygeofilter[backend-sqlalchemy] | ||
requests | ||
SPARQLWrapper | ||
SQLAlchemy<2.0.0 | ||
SQLAlchemy |