File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 39
39
matrix :
40
40
compiler : [gfortran-10, gfortran-11, gfortran-12]
41
41
python-version : [3.11]
42
+ defaults :
43
+ run :
44
+ shell : bash -el {0}
42
45
env :
43
46
F90 : ${{ matrix.compiler }}
44
47
FC : ${{ matrix.compiler }}
@@ -58,21 +61,15 @@ jobs:
58
61
# ##############################################################################
59
62
# Checks-out repository under $GITHUB_WORKSPACE
60
63
- uses : actions/checkout@v4
61
- # Set up Python and install dependencies
62
- - name : Set up Python
63
- uses : actions/setup-python@v5
64
- with :
65
- python-version : ${{ matrix.python-version }}
66
- - name : Setup conda
67
- # uses: s-weigand/setup-conda@v1.2.1
68
- # with:
69
- # python-version: 3.11
64
+ # Set up conda environment
65
+ - name : Setup conda environment
70
66
uses : conda-incubator/setup-miniconda@v3.0.3
71
67
with :
72
68
auto-update-conda : true
69
+ activate-environment : ci-env
70
+ environment-file : build/environment.yml
73
71
python-version : ${{ matrix.python-version }}
74
- - name : Install python packages
75
- run : conda install --yes cartopy matplotlib netcdf4
72
+ auto-activate-base : false
76
73
# NetCDF C and FORTRAN libraries
77
74
- name : Install NetCDF library
78
75
run : |
You can’t perform that action at this time.
0 commit comments