Skip to content

Commit

Permalink
Merge pull request #450 from OpenMS/poshul-patch-6
Browse files Browse the repository at this point in the history
Allow sphinx testing with other wheels.
  • Loading branch information
poshul authored Dec 5, 2024
2 parents f971933 + 6d98efa commit 46ff112
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test-pr-sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
pull_request:
branches:
- master
workflow_dispatch:
inputs:
pyopenms_wheel_url:
description: "URL of the PyOpenMS wheel to download and install"
required: false
default: ""

jobs:

Expand All @@ -19,6 +25,14 @@ jobs:

- name: Installing Dependencies
run: pip install -r docs/requirements.txt


- name: Install PyOpenMS if URL is provided
if: ${{ inputs.pyopenms_wheel_url != '' }}
run: |
pip uninstall pyopenms # remove version installed above
echo "Downloading and installing PyOpenMS wheel from ${{ inputs.pyopenms_wheel_url }}"
curl -o pyopenms.whl ${{ inputs.pyopenms_wheel_url }}
pip install pyopenms.whl
- name: Generate html
run: cd docs && make html

0 comments on commit 46ff112

Please sign in to comment.