diff --git a/.github/workflows/UnitTesting.yml b/.github/workflows/UnitTesting.yml index 72bd824..04fef85 100644 --- a/.github/workflows/UnitTesting.yml +++ b/.github/workflows/UnitTesting.yml @@ -3,6 +3,11 @@ name: Unit Testing on: workflow_call: inputs: + requirements: + description: 'Python dependencies to be installed through pip.' + required: false + default: '-r tests/requirements.txt' + type: string TestReport: description: "Generate unit test report with junitxml and upload results as an artifact." required: false @@ -36,8 +41,8 @@ jobs: - name: 🔧 Install dependencies run: | - python -m pip install --upgrade pip - pip install -r tests/requirements.txt + python -m pip install -U pip + python -m pip install ${{ inputs.requirements }} - name: ☑ Run unit tests run: |