Skip to content

Commit

Permalink
Use conda-incubator/setup-miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrobodas authored Mar 15, 2024
1 parent 9645735 commit b897ded
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
matrix:
compiler: [gfortran-10, gfortran-11, gfortran-12]
python-version: [3.11]
defaults:
run:
shell: bash -el {0}
env:
F90: ${{ matrix.compiler }}
FC: ${{ matrix.compiler }}
Expand All @@ -58,21 +61,15 @@ jobs:
###############################################################################
# Checks-out repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v4
# Set up Python and install dependencies
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup conda
# uses: s-weigand/[email protected]
# with:
# python-version: 3.11
# Set up conda environment
- name: Setup conda environment
uses: conda-incubator/[email protected]
with:
auto-update-conda: true
activate-environment: ci-env
environment-file: build/environment.yml
python-version: ${{ matrix.python-version }}
- name: Install python packages
run: conda install --yes cartopy matplotlib netcdf4
auto-activate-base: false
# NetCDF C and FORTRAN libraries
- name: Install NetCDF library
run: |
Expand Down

0 comments on commit b897ded

Please sign in to comment.