Skip to content

Commit

Permalink
Update CI and dependency list
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Sep 11, 2024
1 parent a77c280 commit be15af7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@artifacts
with:
miniconda-version: "latest"
auto-update-conda: true
Expand All @@ -50,19 +50,19 @@ jobs:
- name: Export Environment
shell: bash -l {0}
run: |
mkdir -p .artifacts
mkdir -p artifacts
filename=env_py${{ matrix.python-version }}_${{ matrix.os }}.yml
conda env export --no-builds | grep -v "prefix" > .artifacts/$filename
conda env export --no-builds | grep -v "prefix" > artifacts/$filename
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: os_py_environments
path: .artifacts/*
path: artifacts/*
- name: Install package and test
shell: bash -l {0}
run: |
python setup.py install
python setup.py test
pip install -e .
pytest
- name: Upload Coverage
shell: bash -l {0}
run: |
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- pip:
- parse
- colorcet
- scipy
- seaborn
- pygeogrids
- pyproj
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ install_requires =
xarray
pandas
numpy
netcdf4
matplotlib
seaborn
cartopy
colorcet
parse
scipy
pygeogrids

# The usage of test_requires is discouraged, see `Dependency Management` docs
# tests_require = pytest; pytest-cov
Expand Down

0 comments on commit be15af7

Please sign in to comment.