Install dependency tomli before script execution.

This commit is contained in:
Patrick Lehmann
2021-12-24 12:51:38 +01:00
parent 9dfafd588e
commit fa10ed076c

View File

@@ -64,6 +64,17 @@ jobs:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository
uses: actions/checkout@v2 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 - name: 🔁 Extract configurations from pyproject.toml
id: getVariables id: getVariables
shell: python shell: python
@@ -101,16 +112,6 @@ jobs:
print(f"::set-output name=coverage_report_xml::{xmlFile}") print(f"::set-output name=coverage_report_xml::{xmlFile}")
print(f"DEBUG:\n html={htmlDirectory}\n 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 - name: Collect coverage
continue-on-error: true continue-on-error: true
run: | run: |