-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try again with apt-get but without PROJ_DATA and PROJ_LIB
- Loading branch information
1 parent
a0b5605
commit 0eac492
Showing
2 changed files
with
9 additions
and
27 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 |
---|---|---|
|
@@ -91,29 +91,16 @@ jobs: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
|
||
# Setup Python | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version.flag }} | ||
|
||
# Install MariaDB | ||
- name: Install MariaDB | ||
- name: Install MariaDB and SpatiaLite | ||
run: | | ||
sudo apt-get install -y mariadb-server mariadb-client | ||
# Setup Conda for Python and Pypy | ||
- name: Install Conda environment with Micromamba | ||
uses: mamba-org/setup-micromamba@v2 | ||
with: | ||
environment-name: test_${{ matrix.python-version.flag }} | ||
cache-environment: false | ||
create-args: >- | ||
${{ matrix.python-version.pkg_name }} | ||
libgdal | ||
libspatialite==5.0.1 | ||
numpy<2 | ||
pyproj<=3.6.0 | ||
rasterio<=1.3.8 | ||
condarc: | | ||
channels: | ||
- conda-forge | ||
- defaults | ||
channel_priority: strict | ||
sudo apt-get install -y mariadb-server mariadb-client libsqlite3-mod-spatialite libgdal-dev gdal-bin | ||
# Config PostgreSQL | ||
- name: Configure PostgreSQL | ||
|
@@ -161,9 +148,7 @@ jobs: | |
# Run the test suite | ||
- name: Run the tests | ||
env: | ||
SPATIALITE_LIBRARY_PATH: /home/runner/micromamba/envs/test_${{ matrix.python-version.flag }}/lib/mod_spatialite.so | ||
PROJ_DATA: /home/runner/micromamba/envs/test_${{ matrix.python-version.flag }}/share/proj | ||
PROJ_LIB: /home/runner/micromamba/envs/test_${{ matrix.python-version.flag }}/share/proj | ||
SPATIALITE_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/mod_spatialite.so | ||
COVERAGE_FILE: .coverage | ||
PYTEST_MYSQL_DB_URL: mysql://gis:[email protected]:3307/gis | ||
PYTEST_MARIADB_DB_URL: mariadb://gis:[email protected]:3308/gis | ||
|
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