Skip to content

last update

last update #166

Workflow file for this run

name: Unittest Tests
on:
push:
release:
types: [published]
jobs:
unittest:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: Set up MicroMamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
- name: Install the package
shell: bash -l {0}
run: pip install --no-deps .
- name: Run unit tests
shell: bash -l {0}
run: pytest tests/ --cov=xcube_resampling --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}