Skip to content

Dem development

Dem development #12

Workflow file for this run

name: Run Tests with Pytest
on:
pull_request:
branches: [main]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up micromamba environment
uses: mamba-org/[email protected]
with:
generate-run-shell: true
environment-file: environment.yml
condarc-file: .condarc
- name: Check packages
shell: micromamba-shell {0}
run: |
pytest --version
- name: Install sar-antarctica package
shell: micromamba-shell {0}
run: |
pip install .
- name: Run tests
shell: micromamba-shell {0}
run: |
pytest tests/sar_antarctica/