Skip to content

Commit 9f178e2

Browse files
committed
CI: Simplify pre-release checks, remove dependency on unused build artifacts
1 parent 41372d9 commit 9f178e2

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -189,20 +189,14 @@ jobs:
189189
name: Submit to CodeCov
190190

191191
test-pre:
192-
needs: [build, get_data, check_if_skip]
192+
needs: [get_data, check_if_skip]
193193
if: ${{ !contains(needs.check_if_skip.outputs.commit_message, '[skip pre]') }}
194194
runs-on: ubuntu-latest
195195
strategy:
196196
matrix:
197-
python-version: [3.7, 3.8, 3.9]
197+
python-version: [3.7, 3.8, 3.9, "3.10"]
198198
install: [repo]
199199
pip-flags: ['--pre']
200-
include:
201-
# VTK won't build official 3.10 wheels before 9.2.0
202-
# PyVista has posted dev versions, at least
203-
- python-version: '3.10'
204-
install: repo
205-
pip-flags: '--pre --find-links https://wheels.pyvista.org/'
206200

207201
env:
208202
INSTALL_TYPE: ${{ matrix.install }}
@@ -233,25 +227,8 @@ jobs:
233227
restore-keys: |
234228
templateflow-v0-${{ github.ref_name }}-
235229
templateflow-v0-
236-
- name: Fetch packages
237-
uses: actions/download-artifact@v3
238-
with:
239-
name: dist
240-
path: dist/
241-
- name: Select archive
242-
run: |
243-
if [ "$INSTALL_TYPE" = "sdist" ]; then
244-
ARCHIVE=$( ls dist/*.tar.gz )
245-
elif [ "$INSTALL_TYPE" = "wheel" ]; then
246-
ARCHIVE=$( ls dist/*.whl )
247-
elif [ "$INSTALL_TYPE" = "repo" ]; then
248-
ARCHIVE="."
249-
elif [ "$INSTALL_TYPE" = "editable" ]; then
250-
ARCHIVE="-e ."
251-
fi
252-
echo "ARCHIVE=$ARCHIVE" >> $GITHUB_ENV
253230
- name: Install package
254-
run: python -m pip install $PIP_FLAGS $ARCHIVE
231+
run: python -m pip install $PIP_FLAGS .
255232
- name: Check version
256233
run: |
257234
# Interpolate version

0 commit comments

Comments
 (0)