diff --git a/.github/workflows/test_notebooks.yml b/.github/workflows/test_notebooks.yml index 87906f6dd..343f6a2f4 100644 --- a/.github/workflows/test_notebooks.yml +++ b/.github/workflows/test_notebooks.yml @@ -6,27 +6,22 @@ on: branches: [ develop, stable, nbtests ] pull_request: branches: [ develop, stable ] + jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Pre-pull images - run: docker-compose pull - - - name: Activate Docker cache - uses: satackey/action-docker-layer-caching@v0.0.8 - # Ignore the failure of a step and avoid terminating the job. - continue-on-error: true - - name: Set up containers run: | docker-compose up -d + - name: Set up Datacube run: | - cat Tests/setup_test_datacube.sh | docker-compose exec -T index bash - docker-compose exec -T sandbox datacube product list + docker-compose exec -T index setup_test_datacube.sh + docker-compose exec -T index datacube product list + - name: Test with pytest run: | docker-compose exec -T sandbox pip install testbook diff --git a/Beginners_guide/04_Loading_data.ipynb b/Beginners_guide/04_Loading_data.ipynb index 67eab13ba..46131cc87 100644 --- a/Beginners_guide/04_Loading_data.ipynb +++ b/Beginners_guide/04_Loading_data.ipynb @@ -502,43 +502,43 @@ " count (time, y, x) int16 16 16 16 16 16 16 16 ... 13 13 12 12 12 12\n", "Attributes:\n", " crs: EPSG:3577\n", - " grid_mapping: spatial_ref
array(['2015-07-02T11:59:59.999999000'], dtype='datetime64[ns]')
array([-3155805., -3155835., -3155865., ..., -3168435., -3168465., -3168495.])
array([2067435., 2067465., 2067495., ..., 2078865., 2078895., 2078925.])
array(3577, dtype=int32)