Skip to content

Commit

Permalink
feat[e2e]: allow defining OctoPrint install string
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Nov 12, 2024
1 parent 1fc3438 commit 0c5b1c4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ inputs:
description: "OctoPrint ref to install and run tests for"
required: false
default: master
octoprint:
description: "OctoPrint dep to install via pip"
required: false
default: "."
deps:
description: "Additional dependencies to install, e.g. plugins"
description: "Additional dependencies to install via pip, e.g. plugins"
required: false
default: ""
python:
Expand Down Expand Up @@ -35,7 +39,7 @@ runs:
working-directory: ./OctoPrint/
shell: bash
run: |
pip install .
pip install ${{ inputs.octoprint }}
[ -n "${{ inputs.deps }}" ] && pip install --force-reinstall ${{ inputs.deps }}
- name: 🏗 Create base config for test server
Expand Down

0 comments on commit 0c5b1c4

Please sign in to comment.