Skip to content

Commit 4c87f43

Browse files
committed
Fixed pypi.yml
1 parent b044c03 commit 4c87f43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
venv-sdist/bin/python -m pip install numpy
3131
venv-sdist/bin/python -m pip install ../dist/pymc_extras*.tar.gz
3232
echo "Checking import and version number (on release)"
33-
venv-sdist/bin/python -c "import pymc as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else True; print(pmx.__version__)"
33+
venv-sdist/bin/python -c "import pymc_extras as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else True; print(pmx.__version__)"
3434
cd ..
3535
- name: Check the bdist installs and imports
3636
run: |
3737
mkdir -p test-bdist
3838
cd test-bdist
3939
python -m venv venv-bdist
40-
venv-bdist/bin/python -m pip install ../dist/pymc*.whl
40+
venv-bdist/bin/python -m pip install ../dist/pymc_extras*.whl
4141
echo "Checking import and version number (on release)"
42-
venv-bdist/bin/python -c "import pymc 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_extras as pmx; assert pmx.__version__ == '${{ github.ref_name }}'[1:] if '${{ github.ref_type }}' == 'tag' else pmx.__version__; print(pmx.__version__)"
4343
cd ..
4444
- uses: actions/upload-artifact@v3
4545
with:

0 commit comments

Comments
 (0)