Skip to content

Commit 46ff112

Browse files
authored
Merge pull request #450 from OpenMS/poshul-patch-6
Allow sphinx testing with other wheels.
2 parents f971933 + 6d98efa commit 46ff112

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/test-pr-sphinx.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
pull_request:
55
branches:
66
- master
7+
workflow_dispatch:
8+
inputs:
9+
pyopenms_wheel_url:
10+
description: "URL of the PyOpenMS wheel to download and install"
11+
required: false
12+
default: ""
713

814
jobs:
915

@@ -19,6 +25,14 @@ jobs:
1925

2026
- name: Installing Dependencies
2127
run: pip install -r docs/requirements.txt
22-
28+
29+
- name: Install PyOpenMS if URL is provided
30+
if: ${{ inputs.pyopenms_wheel_url != '' }}
31+
run: |
32+
pip uninstall pyopenms # remove version installed above
33+
echo "Downloading and installing PyOpenMS wheel from ${{ inputs.pyopenms_wheel_url }}"
34+
curl -o pyopenms.whl ${{ inputs.pyopenms_wheel_url }}
35+
pip install pyopenms.whl
36+
2337
- name: Generate html
2438
run: cd docs && make html

0 commit comments

Comments
 (0)