Skip to content

Commit b0da768

Browse files
authored
Ensure test-package runs against a clean package (#31)
1 parent ad836c6 commit b0da768

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release-wheels.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ jobs:
165165
python-version: ['3.7', '3.8', '3.9', '3.10']
166166

167167
steps:
168-
- uses: actions/checkout@v2
169-
with:
170-
submodules: true
171-
172168
- name: Set up Python ${{ matrix.python-version }}
173169
uses: actions/setup-python@v2
174170
with:
@@ -182,8 +178,8 @@ jobs:
182178

183179
- name: Install from package wheels and test
184180
run: |
185-
python -m venv env/test
186-
source env/test/bin/activate
181+
python -m venv testwhl
182+
source testwhl/bin/activate
187183
python -m pip install -U pip
188184
python -m pip install pytest pydicom pylibjpeg
189185
python -m pip uninstall -y pylibjpeg-libjpeg
@@ -195,8 +191,8 @@ jobs:
195191
196192
- name: Install from package tarball and test
197193
run: |
198-
python -m venv env/testsrc
199-
source env/testsrc/bin/activate
194+
python -m venv testsrc
195+
source testsrc/bin/activate
200196
python -m pip install -U pip
201197
python -m pip install pytest pydicom pylibjpeg
202198
python -m pip uninstall -y pylibjpeg-libjpeg

0 commit comments

Comments
 (0)