File tree 2 files changed +3
-18
lines changed
2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -61,22 +61,15 @@ jobs:
61
61
env :
62
62
BAIPP_DIST : ${{ steps.baipp.outputs.dist }}
63
63
64
- - name : " Get PST version"
65
- run : |
66
- python -Im pip install -e .
67
- # Get the version of the package
68
- PST_VERSION=$(python -c "import pydata_sphinx_theme; print(pydata_sphinx_theme.__version__)")
69
- echo "PST_VERSION=$PST_VERSION" >> $GITHUB_ENV
70
-
71
64
# Run tests on the built package (which will be later uploaded to PyPI)
72
65
- name : " Install PST from wheel and test"
66
+ if : matrix.python-version == '3.9'
73
67
env :
74
68
BAIPP_DIST : ${{ steps.baipp.outputs.dist }}
75
- PST_VERSION : ${{ env.PST_VERSION }}
76
69
run : |
77
70
# calling with --installpkg so we can use the already built package
78
71
tox run -e py312-tests-no-cov \
79
- --installpkg "${BAIPP_DIST}"/pydata_sphinx_theme-"${PST_VERSION}"-py3-none-any .whl \
72
+ --installpkg "${ BAIPP_DIST }"/* .whl \
80
73
-- --deselect tests/test_build.py::test_translations
81
74
82
75
# If either the docs build or the tests resulted in an error, create an issue to note it
Original file line number Diff line number Diff line change @@ -55,22 +55,14 @@ jobs:
55
55
env :
56
56
BAIPP_DIST : ${{ steps.baipp.outputs.dist }}
57
57
58
- - name : " Get PST version"
59
- run : |
60
- python -Im pip install -e .
61
- # Get the version of the package
62
- PST_VERSION=$(python -c "import pydata_sphinx_theme; print(pydata_sphinx_theme.__version__)")
63
- echo "PST_VERSION=$PST_VERSION" >> $GITHUB_ENV
64
-
65
58
# Run tests on the built package (which will be later uploaded to PyPI)
66
59
- name : " Install PST from wheel and test"
67
60
env :
68
61
BAIPP_DIST : ${{ steps.baipp.outputs.dist }}
69
- PST_VERSION : ${{ env.PST_VERSION }}
70
62
run : |
71
63
# calling with --installpkg so we can use the already built package
72
64
tox run -e py312-tests-no-cov \
73
- --installpkg "${BAIPP_DIST}"/pydata_sphinx_theme-"${PST_VERSION}"-py3-none-any .whl \
65
+ --installpkg "${ BAIPP_DIST }"/* .whl \
74
66
-- --deselect tests/test_build.py::test_translations
75
67
76
68
release-PST :
You can’t perform that action at this time.
0 commit comments