Skip to content

Commit c2bf42c

Browse files
Merge pull request #1574 from andrew-s28/pypi_release_updates
PyPi release updates
2 parents eb16b40 + 841aedb commit c2bf42c

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,17 @@ jobs:
9494
user: __token__
9595
password: ${{ secrets.PARCELS_PYPI_PROD_TOKEN }}
9696
verbose: true
97+
98+
test-pypi-release:
99+
needs: upload-to-pypi
100+
runs-on: ubuntu-latest
101+
steps:
102+
- uses: conda-incubator/setup-miniconda@v3
103+
with:
104+
activate-environment: parcels
105+
python-version: 3.8
106+
channels: conda-forge
107+
- run: conda install -c conda-forge c-compiler pip
108+
- run: pip install parcels --no-cache
109+
- run: curl https://raw.githubusercontent.com/OceanParcels/parcels/master/docs/examples/example_peninsula.py > example_peninsula.py
110+
- run: python example_peninsula.py

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@ classifiers = [
1919
"Topic :: Scientific/Engineering",
2020
"Intended Audience :: Science/Research",
2121
]
22+
dependencies = [
23+
"cgen",
24+
"cftime",
25+
"numpy",
26+
"dask",
27+
"cftime",
28+
"psutil",
29+
"netCDF4",
30+
"zarr",
31+
"tqdm",
32+
"pymbolic",
33+
"pytest",
34+
"scipy",
35+
"xarray",
36+
]
2237

2338
[project.urls]
2439
homepage = "https://oceanparcels.org/"

0 commit comments

Comments
 (0)