File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 30
30
venv-sdist/bin/python -m pip install numpy
31
31
venv-sdist/bin/python -m pip install ../dist/pymc-experimental*.tar.gz
32
32
echo "Checking import and version number (on release)"
33
- venv-sdist/bin/python -c "import pymc_experimental as pmx; assert pmx.__version__ == 'v ${{ github.ref_name[1:] }}' if '${{ github.ref_type }}' == 'tag' else True; print(pmx.__version__)"
33
+ venv-sdist/bin/python -c "import pymc_experimental as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else True; print(pmx.__version__)"
34
34
cd ..
35
35
- name : Check the bdist installs and imports
36
36
run : |
39
39
python -m venv venv-bdist
40
40
venv-bdist/bin/python -m pip install ../dist/pymc_experimental*.whl
41
41
echo "Checking import and version number (on release)"
42
- venv-bdist/bin/python -c "import pymc_experimental as pmx; assert pmx.__version__ == '${{ github.ref_name[1:] }}' if '${{ github.ref_type }}' == 'tag' else pmx.__version__; print(pmx.__version__)"
42
+ venv-bdist/bin/python -c "import pymc_experimental as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else pmx.__version__; print(pmx.__version__)"
43
43
cd ..
44
44
- uses : actions/upload-artifact@v3
45
45
with :
You can’t perform that action at this time.
0 commit comments