Skip to content

Commit c0764db

Browse files
authored
update pypi requirements step (#40)
1 parent 36cbdad commit c0764db

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pypi_publish.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -43,7 +45,7 @@ jobs:
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 \
@@ -54,7 +56,7 @@ jobs:
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: |

0 commit comments

Comments
 (0)