Skip to content

Commit 8ed0f4c

Browse files
committed
Fix pdm venv run
1 parent 635d5e5 commit 8ed0f4c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/sub_testing.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ jobs:
8484
- name: Create testing venv
8585
run: pdm venv create -n vtest-source --with-pip && pdm venv create -n vtest-wheel --with-pip
8686
- name: Install pip source package
87-
run: ./vtest-source/bin/pip install ./dist/*.tar.gz
87+
run: pdm run --venv vtest-source -v pip install ./dist/*.tar.gz
8888
- name: Install pip source package
89-
run: ./vtest-wheel/bin/pip install ./dist/*.tar.gz
89+
run: pdm run --venv vtest-wheel -v pip install ./dist/*.tar.gz

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ celerybeat-schedule
8585
# virtualenv
8686
.venv
8787
venv/
88+
vtest/
8889
ENV/
8990

9091
# Spyder project settings
@@ -109,3 +110,7 @@ shared-resources/
109110

110111
# Build logs for debugging
111112
.build.log
113+
114+
# PDM
115+
pdm.lock
116+
.pdm-build

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dependencies = [
3636
]
3737

3838
[dependency-groups]
39+
dev = ["pre-commit"]
3940
testing = ["mypy", "types-PyYAML", "types-requests", "types-tzlocal", "pytest"]
4041

4142
[project.scripts]

0 commit comments

Comments
 (0)