Skip to content

Commit a11d28e

Browse files
authored
Ensure test-package runs against clean package (#49)
1 parent 6a06ad2 commit a11d28e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release-wheels.yml

+4-8
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-openjpeg
@@ -194,8 +190,8 @@ jobs:
194190
195191
- name: Install from package tarball and test
196192
run: |
197-
python -m venv env/testsrc
198-
source env/testsrc/bin/activate
193+
python -m venv testsrc
194+
source testsrc/bin/activate
199195
python -m pip install -U pip
200196
python -m pip install pytest pydicom pylibjpeg
201197
python -m pip uninstall -y pylibjpeg-openjpeg

0 commit comments

Comments
 (0)