Skip to content

Bump ASFHyP3/actions from 0.11.2 to 0.12.0 #318

Bump ASFHyP3/actions from 0.11.2 to 0.12.0

Bump ASFHyP3/actions from 0.11.2 to 0.12.0 #318

Workflow file for this run

name: Pytest
on:
workflow_dispatch:
branches:
- dev
- main
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: extractions/netrc@v2
with:
machine: urs.earthdata.nasa.gov
username: ${{ secrets.EARTHDATA_USERNAME }}
password: ${{ secrets.EARTHDATA_PASSWORD }}
- uses: mamba-org/provision-with-micromamba@main
with:
environment-name: dem-stitcher
environment-file: environment.yml
extra-specs: |
python=${{ matrix.python-version }}
- name: Pytest in conda environment
shell: bash -l {0}
run: |
python -m pip install .
pytest . -m 'not notebook'