-
Notifications
You must be signed in to change notification settings - Fork 228
Move requirements-dev.txt dependencies to environment.yml #812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3a5fa7d
0f63f1a
b593ea3
c75fc35
dfd2bda
17613f2
f822ab3
6958959
ca703a3
4364312
94a91fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,22 +69,15 @@ jobs: | |
- name: Setup Miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
activate-environment: pygmt | ||
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge | ||
miniconda-version: "latest" | ||
|
||
# Install GMT and other required dependencies from conda-forge | ||
- name: Install GMT and required dependencies | ||
- name: Install dependencies | ||
shell: bash -l {0} | ||
run: | | ||
requirements_file=full-conda-requirements.txt | ||
cat requirements.txt requirements-dev.txt > $requirements_file | ||
cat << EOF >> $requirements_file | ||
gmt=6.1.1 | ||
make | ||
codecov | ||
EOF | ||
conda install --yes --file $requirements_file | ||
run: conda env update --file environment.yml | ||
|
||
# Show installed pkg information for postmortem diagnostic | ||
- name: List installed packages | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,25 @@ channels: | |
- conda-forge | ||
- defaults | ||
dependencies: | ||
- python=3.8 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about adding a few comment lines to group the dependencies into:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. But should we consider There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good. |
||
# Required dependencies | ||
- pip | ||
weiji14 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- gmt=6.1.1 | ||
- numpy | ||
- pandas | ||
- xarray | ||
- netCDF4 | ||
- packaging | ||
# Development dependencies | ||
- black | ||
weiji14 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- blackdoc | ||
- codecov | ||
- coverage[toml] | ||
- docformatter | ||
- flake8 | ||
- ipython | ||
- isort>=5 | ||
- jupyter | ||
- make | ||
- matplotlib | ||
- nbsphinx | ||
- pylint | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Requirements for installing with conda | ||
# Required packages | ||
numpy | ||
pandas | ||
xarray | ||
|
Uh oh!
There was an error while loading. Please reload this page.