Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/cache_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,16 @@ jobs:
# fetch all history so that setuptools-scm works
fetch-depth: 0

# Install Micromamba with conda-forge dependencies
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1.4.0
with:
environment-name: pygmt
environment-file: false
channels: conda-forge,nodefaults
extra-specs: |
condarc: |
channels:
- conda-forge
- nodefaults
create-args: >-
python=3.11
gmt=6.4.0
numpy
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,18 @@ jobs:
# fetch all history so that setuptools-scm works
fetch-depth: 0

# Install Micromamba with conda-forge dependencies
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1.4.0
with:
environment-name: pygmt
environment-file: false
channels: conda-forge,nodefaults
condarc: |
channels:
- conda-forge
- nodefaults
cache-downloads: true
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=3.11
gmt=6.4.0
numpy
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci_doctests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ jobs:
# fetch all history so that setuptools-scm works
fetch-depth: 0

# Install Micromamba with conda-forge dependencies
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1.4.0
with:
environment-name: pygmt
environment-file: false
channels: conda-forge,nodefaults
extra-specs: |
condarc: |
channels:
- conda-forge
- nodefaults
create-args: >-
python=3.11
gmt=6.4.0
numpy
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,7 @@ jobs:
optional-packages: ''
- python-version: '3.11'
numpy-version: '1.24'
optional-packages: |
contextily
geopandas
ipython
rioxarray
sphinx-gallery
optional-packages: ' contextily geopandas ipython rioxarray sphinx-gallery'

timeout-minutes: 30
defaults:
Expand All @@ -99,23 +94,25 @@ jobs:
# fetch all history so that setuptools-scm works
fetch-depth: 0

# Install Micromamba with conda-forge dependencies
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1.4.0
with:
environment-name: pygmt
environment-file: false
channels: conda-forge,nodefaults
condarc: |
channels:
- conda-forge
- nodefaults
cache-downloads: true
cache-env: true
extra-specs: |
python=${{ matrix.python-version }}
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}${{ matrix.optional-packages }}
gmt=6.4.0
numpy=${{ matrix.numpy-version }}
pandas
xarray
netCDF4
packaging
${{ matrix.optional-packages }}
build
dvc
make
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ci_tests_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,18 @@ jobs:
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
body: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

# Install Micromamba with conda-forge dependencies
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1.4.0
with:
environment-name: pygmt
environment-file: false
channels: conda-forge,nodefaults
condarc: |
channels:
- conda-forge
- nodefaults
cache-downloads: true
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=3.11
cmake
make
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ci_tests_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,18 @@ jobs:
# fetch all history so that setuptools-scm works
fetch-depth: 0

# Install Micromamba with conda-forge dependencies
- name: Setup Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1.4.0
with:
environment-name: pygmt
environment-file: false
channels: conda-forge,nodefaults
condarc: |
channels:
- conda-forge
- nodefaults
cache-downloads: true
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=3.9
gmt=${{ matrix.gmt_version }}
numpy
Expand Down