diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 56cdd075a8..2d7c4a1d8a 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -6,7 +6,8 @@ on: - published ### Uncomment the "push:" together with the "repository-url:" field of action pypa/gh-action-pypi-publish ### to make a release to TestPyPI. Building this is rather expensive so do not merge this uncommented! - #push: + pull_request: + types: [opened, reopened, synchronize, ready_for_review] ### @Reviewer: MAKE SURE THE LINE ABOVE IS COMMENTED OUT BEFORE MERGE! ### jobs: @@ -73,4 +74,4 @@ jobs: with: skip-existing: true ### To test uploads to TestPyPI in a PR, uncomment the following, as well as the "push:" line at the top: - #repository-url: https://test.pypi.org/legacy/ + repository-url: https://test.pypi.org/legacy/ diff --git a/pycode/memilio-simulation/pyproject.toml b/pycode/memilio-simulation/pyproject.toml index c120d78d74..8ba9bdfbab 100644 --- a/pycode/memilio-simulation/pyproject.toml +++ b/pycode/memilio-simulation/pyproject.toml @@ -1,6 +1,7 @@ [project] name = "memilio-simulation" -dynamic = ["version"] +# dynamic = ["version"] +version = "2.4.0" description = "Part of MEmilio project, Python bindings to the C++ libraries that contain the models and simulations." readme = "README.md" requires-python = ">=3.8"