Skip to content

Tox tests

Tox tests #24

Workflow file for this run

name: Tox tests
on:
schedule:
- cron: '0 0 * * 6'
jobs:
tests:
runs-on: self-hosted
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.6-0'
micromamba-binary-path: ${{ runner.temp }}/bin/micromamba
environment-file: conda_environment_test_tox.yaml
environment-name: copernicusmarine_test_tox
condarc-file: .condarc
cache-environment: true
post-cleanup: 'all'
- name: Run tests
env:
COPERNICUSMARINE_SERVICE_USERNAME: ${{ secrets.COPERNICUSMARINE_SERVICE_USERNAME }}
COPERNICUSMARINE_SERVICE_PASSWORD: ${{ secrets.COPERNICUSMARINE_SERVICE_PASSWORD }}
run: make run-tests-dependencie-versions
shell: micromamba-shell {0}