Change dependencies and hack together working notebooks #27
Workflow file for this run
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 Notebook | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
IMAGE_NAME: opendatacube/cube-in-a-box | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up cube-in-a-box | |
run: | | |
make setup | |
- name: Run test | |
run: | | |
docker-compose up -d | |
docker-compose exec -T jupyter bash "-c" "cd /; pytest tests/test_notebooks.py" |