Commit ddba171 1 parent af91b42 commit ddba171 Copy full SHA for ddba171
File tree 1 file changed +1
-26
lines changed
1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -45,35 +45,10 @@ jobs:
45
45
with :
46
46
name : artifact
47
47
path : dist/*
48
- test :
49
- name : upload to test PyPI
50
- needs : [build]
51
- runs-on : ubuntu-latest
52
- if : github.event_name == 'release' && github.event.action == 'published'
53
- steps :
54
- - uses : actions/download-artifact@v3
55
- with :
56
- name : artifact
57
- path : dist
58
- - uses : pypa/gh-action-pypi-publish@release/v1
59
- with :
60
- skip_existing : true
61
- user : __token__
62
- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
63
- repository_url : https://test.pypi.org/legacy/
64
- - uses : actions/setup-python@v5
65
- with :
66
- python-version : " 3.10"
67
- - name : Test pip install from test.pypi
68
- run : |
69
- python -m venv venv-test-pypi
70
- venv-test-pypi/bin/python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pymc-experimental
71
- echo "Checking import and version number"
72
- venv-test-pypi/bin/python -c "import pymc_experimental; assert pymc_experimental.__version__ == '${{ github.ref_name }}'[1:]"
73
48
74
49
publish :
75
50
name : upload release to PyPI
76
- needs : [build, test ]
51
+ needs : [build]
77
52
runs-on : ubuntu-latest
78
53
if : github.event_name == 'release' && github.event.action == 'published'
79
54
steps :
You can’t perform that action at this time.
0 commit comments