File tree 4 files changed +6
-36
lines changed
4 files changed +6
-36
lines changed Original file line number Diff line number Diff line change @@ -79,28 +79,17 @@ jobs:
79
79
# fecth all history so that setuptools-scm works
80
80
fetch-depth : 0
81
81
82
- # Setup Miniconda
83
- - name : Setup Miniconda
82
+ # Install Mambaforge with GMT and other conda-forge dependencies
83
+ - name : Setup Mambaforge with GMT and required dependencies
84
84
uses : conda-incubator/setup-miniconda@2fc91a2ef82dfb50ded2d80e56f83b7039ba5955
85
85
with :
86
86
python-version : ${{ matrix.python-version }}
87
+ environment-file : environment.yml
87
88
miniforge-variant : Mambaforge
88
89
miniforge-version : latest
90
+ mamba-version : " *"
89
91
use-mamba : true
90
92
91
- # Install GMT and other required dependencies from conda-forge
92
- - name : Install GMT and required dependencies
93
- shell : bash -l {0}
94
- run : |
95
- requirements_file=full-conda-requirements.txt
96
- cat requirements.txt requirements-dev.txt > $requirements_file
97
- cat << EOF >> $requirements_file
98
- gmt=6.1.1
99
- make
100
- codecov
101
- EOF
102
- mamba install --yes --file $requirements_file
103
-
104
93
# Show installed pkg information for postmortem diagnostic
105
94
- name : List installed packages
106
95
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ channels:
3
3
- conda-forge
4
4
- defaults
5
5
dependencies :
6
- - python=3.8
7
6
- pip
8
7
- gmt=6.1.1
9
8
- numpy
@@ -13,12 +12,14 @@ dependencies:
13
12
- packaging
14
13
- black
15
14
- blackdoc
15
+ - codecov
16
16
- coverage[toml]
17
17
- docformatter
18
18
- flake8
19
19
- ipython
20
20
- isort>=5
21
21
- jupyter
22
+ - make
22
23
- matplotlib
23
24
- nbsphinx
24
25
- pylint
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Requirements for installing with conda
2
1
numpy
3
2
pandas
4
3
xarray
You can’t perform that action at this time.
0 commit comments