Skip to content

Commit

Permalink
Add pypi publish pixi task
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Jan 19, 2024
1 parent 56889ff commit 238bbe6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pre-commit = "pre-commit run --all-files"
test = { depends_on = ["install"], cmd = "NUMBA_DISABLE_JIT=1 pytest --cov=xugrid --cov-report xml --cov-report term"}
docs = { depends_on = ["install"], cmd = "NUMBA_DISABLE_JIT=1 sphinx-build docs docs/_build"}
all = { depends_on = ["pre-commit", "test", "docs"]}
pypi-publish = { cmd = "rm --recursive --force dist && python -m build && twine check dist/* && twine upload dist/*" }

[dependencies]
dask = "*"
Expand All @@ -43,3 +44,4 @@ sphinx-gallery = "*"
xarray = "*"
zarr = "*"
ipykernel = "6.26.0.*" # So we can run examples
twine = "*"

0 comments on commit 238bbe6

Please sign in to comment.