Skip to content

Commit

Permalink
improve conda env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 committed Sep 3, 2024
1 parent c320782 commit 053980a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/e3sm-gh-tools-mkatmsrffile-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,27 @@ jobs:
name: Conda setup
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: 3.12
auto-activate-base: true
activate-environment: true
activate-environment: "e3sm_diags_ci"
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
channel-priority: strict
auto-update-conda: true
python-version: 3.11
-
name: Install dependencies
shell: bash -el {0}
run: mamba install -y nco xarray numba numpy netcdf4
run: |
mamba list
mamba info
mamba install -y nco xarray numba numpy netcdf4
-
name: Run tests
working-directory: components/eam/tools/mkatmsrffile
run: |
mamba list
mamba info
wget https://web.lcrc.anl.gov/public/e3sm/inputdata/atm/cam/chem/trop_mozart/dvel/clim_soilw.nc
wget https://web.lcrc.anl.gov/public/e3sm/inputdata/atm/cam/chem/trop_mozart/dvel/regrid_vegetation.nc
wget https://web.lcrc.anl.gov/public/e3sm/inputdata/atm/cam/chem/trop_mozart/dvel/map_1x1_to_ne30pg2_traave_c20240903.nc
Expand Down

0 comments on commit 053980a

Please sign in to comment.