File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ jobs:
35
35
id : check_version
36
36
run : |
37
37
VERSION=${{ needs.extract-tag.outputs.version }}
38
- PACKAGE_NAME="dspy-ai- test"
38
+ PACKAGE_NAME="dspy-test-chenmoney "
39
39
echo "Checking if $VERSION for $PACKAGE_NAME exists on TestPyPI"
40
40
NEW_VERSION=$(python3 .github/workflows/build_utils/test_version.py $PACKAGE_NAME $VERSION)
41
41
echo "Version to be used for TestPyPI release: $NEW_VERSION"
42
42
echo "::set-output name=version::$NEW_VERSION"
43
43
- name : Update version in pyproject.toml
44
44
run : sed -i '/#replace_package_version_marker/{n;s/version="[^"]*"/version="${{ steps.check_version.outputs.version }}"/;}' pyproject.toml
45
45
- name : Update package name in pyproject.toml
46
- run : sed -i '/#replace_package_name_marker/{n;s/name="[^"]*"/name="dspy-ai- test"/;}' pyproject.toml
46
+ run : sed -i '/#replace_package_name_marker/{n;s/name="[^"]*"/name="dspy-test-chenmoney "/;}' pyproject.toml
47
47
- name : Build a binary wheel
48
48
run : python3 -m build
49
49
# Test the locally built wheel
54
54
source test_before_testpypi/bin/activate
55
55
# Install the locally built wheel and testing dependencies
56
56
pip install dist/*.whl pytest
57
- python -c "import dspy; print(dspy.__version__)"
57
+ pytest tests/metadata/test_metadata.py tests/predict
58
58
deactivate
59
59
# Publish to test-PyPI
60
60
- name : Publish distribution 📦 to test-PyPI
You can’t perform that action at this time.
0 commit comments