Skip to content

chore: add binary check #883

chore: add binary check

chore: add binary check #883

Workflow file for this run

name: Run tests
on:
pull_request_target:
branches:
- "release/**"
- "pre-releases/**"
jobs:
tests:
runs-on: self-hosted
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- 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.yaml
environment-name: copernicusmarine_test
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
shell: micromamba-shell {0}