Address some self-deprecations in dc.load #2385
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Conda Smoke Test | |
on: | |
pull_request: | |
paths: | |
- '**' | |
push: | |
paths: | |
- '**' | |
jobs: | |
check-conda: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache conda | |
uses: actions/cache@v4 | |
env: | |
# Increase this value to reset cache if setup.py has not changed | |
CACHE_NUMBER: 0 | |
with: | |
path: ~/conda_pkgs_dir | |
key: | |
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ | |
hashFiles('conda-environment.yml') }} | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
environment-file: conda-environment.yml | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version}} | |
- name: Bash | |
shell: bash -l {0} | |
run: | | |
pip install . | |
python --version | |
datacube --version | |
conda env export |