Bump actions/checkout from 3 to 4 #24
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: 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 |