Skip to content

restrict numpy to version 1 #364

restrict numpy to version 1

restrict numpy to version 1 #364

Workflow file for this run

---
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@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and test
uses: docker/build-push-action@v4
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!'