mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Install dependency tomli before script execution.
This commit is contained in:
21
.github/workflows/CoverageCollection.yml
vendored
21
.github/workflows/CoverageCollection.yml
vendored
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user