File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ jobs:
1616 with :
1717 python-version : " 3.9"
1818
19- - name : Verify Package Version vs Tag Version
19+ - name : Ensure package version and tag are equal
2020 run : |
21+
2122 PKG_VER="$(grep -oP '^version = "\K[^"]+' pyproject.toml)"
2223 TAG_VER="${GITHUB_REF##*/}"
24+
2325 echo "Package version is $PKG_VER" >&2
2426 echo "Tag version is $TAG_VER" >&2
2527 if [ "$PKG_VER" != "$TAG_VER" ]; then
4345 --outdir dist/
4446 .
4547
46- - name : Install the newly build package with all extras
48+ - name : Install the newly built package with all extras
4749 run : |
4850 TAR_PATH="$( realpath ./dist/*.tar.gz)"
4951 python -m \
5456 run : >-
5557 python -m
5658 pip install
57- -r requirements-dev.txt
59+ --no-deps -r ./lock/ requirements-dev.txt
5860
5961 - name : Run pytest on freshly installed package
6062 run : |
You can’t perform that action at this time.
0 commit comments