Update action.yaml #6
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: CI | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
container-test-job: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/euroargodev/coriolis-data-processing-chain-for-argo-floats:061a | |
env: | |
NODE_ENV: development | |
ports: | |
- 80 | |
volumes: | |
- my_docker_volume:/volume_mount | |
- /mnt/runtime | |
- /mnt/data | |
- /mnt/ref | |
options: --cpus 1 | |
steps: | |
- name: Check for dockerenv file | |
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv) | |
- name: Check for Matlab runtime environment | |
run: (ls /mnt/runtime && echo Found Matlab runtime environment) || (echo No Matlab runtime environment) | |
- name: Check for Output files directory | |
run: (ls /mnt/data/output && echo Found Output files directory) || (echo No Output files directory) | |
- name: Check for Input files directory | |
run: (ls /mnt/data/rsync && echo Found Input files directory) || (echo No Input files directory) | |
- name: Check for External configurations directory | |
run: (ls /mnt/data/config && echo Found External configurations directory) || (echo No External configurations directory) | |
- name: Check for GEBCO file | |
run: (ls /mnt/ref/gebco.nc && echo Found GEBCO file) || (echo No GEBCO file) | |
- name: Check volumes | |
run: ls -l /DECODER_RUNTIME_DIR | |