Skip to content
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

Disable tests on publish and bump version #477

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ jobs:
python -c "import pydp; print(pydp.__version__)"

- name: Run Pytest
if: runner.os != 'Linux'
# TODO(dvadym): fix tests.
run: |
poetry run pytest tests -n auto

Expand All @@ -177,11 +179,6 @@ jobs:
run: |
Get-ChildItem -Path ./ -Filter "*.whl" -Recurse -File | foreach {poetry run twine check $_.FullName}

- name: Renaming wheel
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to rename, it's already has a correct name with _manylinux

if: runner.os == 'Linux'
run: |
find . -name '*linux*.whl' -type f -exec bash -c 'mv "$1" "${1/linux/manylinux1}"' -- {} \;

- name: Publishing the wheel
env:
TWINE_USERNAME: __token__
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [

[tool.poetry]
name = "pydp"
version = "1.1.5.rc3"
version = "1.1.5.rc4"
description = ""
authors = [
"Chinmay Shah <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.5.rc3
current_version = 1.1.5.rc4
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def read(fname):
python_requires=">=3.8",
test_suite="tests",
url="https://github.com/OpenMined/PyDP",
version="1.1.5.rc3",
version="1.1.5.rc4",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion src/pydp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
from pydp import util
from pydp import ml

__version__ = "1.1.5.rc3"
__version__ = "1.1.5.rc4"
Loading