Update rasterio requirement from <1.4.0 to <1.5.0 #422
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
--- | |
name: Test Docker images and Binder integration | |
on: | |
push: | |
branches: [main] | |
paths: | |
- .binder/* | |
- Dockerfile | |
- pyproject.toml | |
pull_request: | |
branches: [main] | |
paths: | |
- .binder/* | |
- Dockerfile | |
- pyproject.toml | |
jobs: | |
test-docker-image: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: test-docker-${{ github.ref }} | |
cancel-in-progress: true | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and test | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
target: full | |
tags: hydromt | |
load: true | |
build-args: | | |
PIXIENV=full-py311 | |
- name: Run Tests | |
run: docker run --env NUMBA_DISABLE_JIT=1 --rm hydromt pytest | |
- name: Test Binder integration with repo2docker | |
run: | | |
pip install jupyter-repo2docker | |
repo2docker . echo 'success!' |