Skip to content

Bump actions/checkout from 3 to 4 #24

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #24

name: WORKSPACE CSV Test (dev)
on:
push:
branches: [ master ]
paths:
- 'workspaces/dev-products.csv'
- '.github/workflows/workspace_dev_csv_testing.yaml'
- 'docker-compose.productscsv.yaml'
- 'check-product-csv.sh'
pull_request:
branches: [ master ]
paths:
- 'workspaces/dev-products.csv'
- '.github/workflows/workspace_dev_csv_testing.yaml'
- 'docker-compose.productscsv.yaml'
- 'check-product-csv.sh'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run csv testing (Dev)
run: |
docker-compose -f docker-compose.productscsv.yaml up -d
docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c "datacube system init"
docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c "cd /env/config; ./datacube_init_metadata.sh"
docker-compose -f docker-compose.productscsv.yaml exec -T datacube /bin/sh -c "cd /env/config; ./check-product-csv.sh"
docker-compose -f docker-compose.productscsv.yaml down
env:
ENV: dev
EXPLORER_ENDPOINT: explorer.dev.dea.ga.gov.au