Skip to content

Test-CMT

Test-CMT #5

Workflow file for this run

# This workflow aims to produce Near Real Time classification of profiles in BCs
name: Test-CMT
on:
workflow_dispatch: # allows you to trigger the workflow run manually
jobs:
classify-and-report:
runs-on: ubuntu-latest
environment: COPERNICUS_MARINE_SERVICE
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: 'main'
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-name: bc-monitor
environment-file: environment39-free.yml
cache-environment: true
- name: Test login CMS
env:
USERNAME: ${{secrets.COPERNICUS_MARINE_SERVICE_USERNAME}}
PASSWORD: ${{secrets.COPERNICUS_MARINE_SERVICE_PASSWORD}}
run: |
copernicusmarine login --username $USERNAME --password $PASSWORD --overwrite-configuration-file --log-level INFO
ls -al ~/.copernicusmarine
more ~/.copernicusmarine/.copernicusmarine-credentials
- name: Test
run: |
python cli/load_aviso.py