diff --git a/.github/workflows/CoverageCollection.yml b/.github/workflows/CoverageCollection.yml index 6cdf29a..71dabf5 100644 --- a/.github/workflows/CoverageCollection.yml +++ b/.github/workflows/CoverageCollection.yml @@ -64,6 +64,17 @@ jobs: - name: ⏬ Checkout repository uses: actions/checkout@v2 + - name: 🐍 Setup Python ${{ inputs.python_version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ inputs.python_version }} + + - name: 🗂 Install dependencies + run: | + python -m pip install -U pip + python -m pip install tomli + python -m pip install ${{ inputs.requirements }} + - name: 🔁 Extract configurations from pyproject.toml id: getVariables shell: python @@ -101,16 +112,6 @@ jobs: print(f"::set-output name=coverage_report_xml::{xmlFile}") print(f"DEBUG:\n html={htmlDirectory}\n xml={xmlFile}") - - name: 🐍 Setup Python ${{ inputs.python_version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ inputs.python_version }} - - - name: 🗂 Install dependencies - run: | - python -m pip install -U pip - python -m pip install ${{ inputs.requirements }} - - name: Collect coverage continue-on-error: true run: |