Skip to content

Commit

Permalink
Merge pull request #8594 from OpenMined/rasswanth/fix-syft-cd
Browse files Browse the repository at this point in the history
Fix CD- Syft
  • Loading branch information
rasswanth-s authored Mar 18, 2024
2 parents 61619ed + a309d41 commit 6561c26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
1 change: 1 addition & 0 deletions packages/syft/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ fake_samples_local.png
duet_mnist.pt
12084.jpg
.tox/*
dist/
22 changes: 9 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,19 @@ allowlist_externals =
commands =
bash -c 'uv pip list || pip list'

[testenv:syft.publish]
changedir = {toxinidir}/packages/syft
description = Build and Publish Syft Wheel
deps =
build
commands =
python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)'
python -m build .

[testenv:hagrid.publish]
changedir = {toxinidir}/packages/hagrid
description = Build and Publish Hagrid Wheel
deps =
setuptools
wheel
twine
build
commands =
python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)'
Expand All @@ -101,9 +107,6 @@ commands =
changedir = {toxinidir}/packages/syftcli
description = Build and Publish Syft CLI Wheel
deps =
setuptools
wheel
twine
build
allowlist_externals =
bash
Expand Down Expand Up @@ -382,13 +385,6 @@ commands =
python -c "import syft as sy; sy.bump_protocol_version()"; \
fi'

[testenv:syft.publish]
changedir = {toxinidir}/packages/syft
description = Build and Publish Syft Wheel
commands =
python -c 'from shutil import rmtree; rmtree("build", True); rmtree("dist", True)'
python -m build .

[testenv:syft.test.security]
description = Security Checks for Syft
changedir = {toxinidir}/packages/syft
Expand Down

0 comments on commit 6561c26

Please sign in to comment.