Skip to content

Commit

Permalink
chore: seperate RTD env and testing env
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 30, 2023
1 parent 0bf7f87 commit 0d1621d
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: invert4geom
environment-file: environment.yml
environment-file: env/test_env.yml
python-version: ${{ matrix.python-version }}
channels: conda-forge,nodefaults
channel-priority: strict
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ celerybeat.pid
# Environments
.env
.venv
env/
# env/
venv/
ENV/
env.bak/
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ sphinx:
configuration: docs/conf.py

conda:
environment: environment.yml
environment: env/RTD_env.yml
40 changes: 40 additions & 0 deletions env/RTD_env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Requirements for running the github action: test only need run-time dependencies
name: invert4geom
channels:
- conda-forge
- defaults
dependencies:
- python>=3.8
- pip
# Run-time
- numpy
- pandas
- xarray
- verde>=1.8.0
- rioxarray
- pykdtree
- xrft
- harmonica>=0.6.0
- antarctic-plots>=0.0.6
- numba
- scipy
- nptyping
- tqdm
- pygmt
- dask
- optuna>=3.1.0
- botorch>=0.4.0
# docs
- sphinx>=4.0
- myst-parser
- sphinx-copybutton
- sphinx-autodoc-typehints
- sphinx-book-theme>=0.3
- sphinx-design
- nbsphinx
- pip:
- numba-progress
- tqdm_joblib
- psutil
- joblib
- .
File renamed without changes.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ dependencies = [

# "geopandas",
# "boule",
# "numba-progress",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 0d1621d

Please sign in to comment.