From 498e7147259783044925eb48f565a44f79f84e27 Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 29 Nov 2021 02:33:24 +0100 Subject: [PATCH] CoverageCollection: add option 'requirements' --- .github/workflows/CoverageCollection.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CoverageCollection.yml b/.github/workflows/CoverageCollection.yml index e1851a4..ee4fa4d 100644 --- a/.github/workflows/CoverageCollection.yml +++ b/.github/workflows/CoverageCollection.yml @@ -8,6 +8,11 @@ on: required: false default: '3.10' type: string + requirements: + description: 'Python dependencies to be installed through pip.' + required: false + default: '-r tests/requirements.txt' + type: string artifact: description: 'Name of the coverage artifact.' required: true @@ -34,8 +39,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: Collect coverage continue-on-error: true