Skip to content

Commit

Permalink
Fix CI for Pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Nov 2, 2024
1 parent 3679290 commit 5340434
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ jobs:
PYTEST_MYSQL_DB_URL: mysql://gis:gis@127.0.0.1:3307/gis
PYTEST_MARIADB_DB_URL: mariadb://gis:gis@127.0.0.1:3308/gis
run: |
if [[ ${{ matrix.python-version.flag }} == 'pypy3.8' ]]; then
export PYTEST_ADDOPTS='--ignore=tests/gallery/test_insert_raster.py'
fi;
# Run the unit test suite with SQLAlchemy=1.4.* and then with the latest version of SQLAlchemy
tox -vv
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest
pytest-cov
pytest-html
pytest-mypy
rasterio
rasterio;implementation_name!='pypy'
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ python =
[testenv]
passenv=
PROJ_LIB
PYTEST_ADDOPTS
PYTEST_POSTGRESQL_DB_URL
PYTEST_MARIADB_DB_URL
PYTEST_MYSQL_DB_URL
Expand Down

0 comments on commit 5340434

Please sign in to comment.