Skip to content

Commit ecada06

Browse files
committed
Updates to workflow
1 parent 3486863 commit ecada06

3 files changed

Lines changed: 10 additions & 23 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,20 @@ jobs:
2424
uses: mamba-org/setup-micromamba@v2
2525
with:
2626
environment-file: environment.yml
27+
init-shell: bash
2728
condarc: |
2829
channels:
2930
- conda-forge
3031
channel_priority: strict
31-
init-shell: bash
32+
cache-environment: true
3233

3334
- name: Install package (editable)
3435
shell: bash -l {0}
3536
run: |
3637
micromamba run -n TEST python -m pip install --upgrade pip
3738
micromamba run -n TEST python -m pip install -e . --no-deps --force-reinstall
3839
39-
- name: Build docs
40+
- name: Build documentation
4041
shell: bash -l {0}
4142
run: |
4243
set -e

requirements-dev.txt

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
1-
# Core scientific stack
2-
numpy>=1.23
3-
pandas>=2.0
4-
xarray>=2023.12.0
5-
scipy>=1.10
6-
netcdf4>=1.6
1+
# Pull in the base stack so we don't duplicate pins here
2+
-r requirements.txt
73

8-
# Oceanographic tools
9-
gsw>=3.6.16
10-
ctd_tools
11-
#cmocean>=2.0 # optional, confirm usage
12-
#cartopy>=0.22 # optional, confirm usage
13-
14-
# QC
15-
ioos_qc
16-
17-
# Progress bar (optional)
18-
#tqdm>=4.66 # optional, confirm usage
19-
20-
# Plotting
21-
matplotlib>=3.7
224

235
# Jupyter and notebooks
246
jupyterlab>=4.0
@@ -33,7 +15,7 @@ pypandoc>=1.11 # optional, confirm usage
3315

3416
# Testing
3517
pytest>=8.0
36-
pytest-cov>=4.1 # optional, if you use coverage
18+
pytest-cov>=4.1 # optional
3719

3820
# Code quality
3921
black>=24.0

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ gsw>=3.6.16
1212

1313
# QC
1414
ioos_qc
15+
16+
17+
# Pip-only (or dev-only) extras
18+
ctd_tools

0 commit comments

Comments
 (0)