Skip to content

Commit

Permalink
Link shared library for SpatiaLite
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Feb 6, 2023
1 parent c2f7320 commit 4687d81
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
fail-fast: false
matrix:
python-version: [
{"pkg_name": "python==3.7", "flag": "3.7"},
{"pkg_name": "python==3.8", "flag": "3.8"},
{"pkg_name": "python==3.9", "flag": "3.9"},
{"pkg_name": "python==3.10", "flag": "3.10"},
# {"pkg_name": "python==3.7", "flag": "3.7"},
# {"pkg_name": "python==3.8", "flag": "3.8"},
# {"pkg_name": "python==3.9", "flag": "3.9"},
# {"pkg_name": "python==3.10", "flag": "3.10"},
{"pkg_name": "pypy3.8", "flag": "pypy3.8"},
]

Expand Down Expand Up @@ -55,11 +55,10 @@ jobs:

# Setup Conda for Python and Pypy
- name: Install Conda environment with Micromamba
if: ${{matrix.python-version == 'pypy3.8'}}
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: false
environment-name: test_pypy3.8
environment-name: test_${{ matrix.python-version.flag }}
channels: conda-forge,defaults
cache-downloads: true
extra-specs: |
Expand All @@ -80,7 +79,11 @@ jobs:
# Check python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
shell: bash -l {0}
run: |
/home/runner/micromamba-bin/micromamba info
ls /home/runner/micromamba-root/envs/test_pypy3.8/lib
python -c "import sys; print(sys.version)"
# Install dependencies
- name: Install dependencies
Expand All @@ -91,7 +94,7 @@ jobs:
# Run the test suite
- name: Run the tests
env:
SPATIALITE_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/mod_spatialite.so
SPATIALITE_LIBRARY_PATH: /home/runner/micromamba-root/envs/test_${{ matrix.python-version.flag }}/lib/mod_spatialite.so
COVERAGE_FILE: .coverage
run: |
# Run the unit test suite with SQLAlchemy=1.1.2 and then with the latest version of SQLAlchemy
Expand Down

0 comments on commit 4687d81

Please sign in to comment.