mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Use unique artifact names for db jobs [ci] (#108653)
This commit is contained in:
parent
0a0d4c37a9
commit
be4631cbf8
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -898,6 +898,7 @@ jobs:
|
|||||||
python --version
|
python --version
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
mariadb=$(echo "${{ matrix.mariadb-group }}" | sed "s/:/-/g")
|
mariadb=$(echo "${{ matrix.mariadb-group }}" | sed "s/:/-/g")
|
||||||
|
echo "mariadb=${mariadb}" >> $GITHUB_OUTPUT
|
||||||
cov_params=()
|
cov_params=()
|
||||||
if [[ "${{ needs.info.outputs.skip_coverage }}" != "true" ]]; then
|
if [[ "${{ needs.info.outputs.skip_coverage }}" != "true" ]]; then
|
||||||
cov_params+=(--cov="homeassistant.components.recorder")
|
cov_params+=(--cov="homeassistant.components.recorder")
|
||||||
@ -929,7 +930,8 @@ jobs:
|
|||||||
if: needs.info.outputs.skip_coverage != 'true'
|
if: needs.info.outputs.skip_coverage != 'true'
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
name: coverage-${{ matrix.python-version }}-mariadb
|
name: coverage-${{ matrix.python-version }}-mariadb-${{
|
||||||
|
steps.pytest-partial.outputs.mariadb }}
|
||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
- name: Check dirty
|
- name: Check dirty
|
||||||
run: |
|
run: |
|
||||||
@ -1022,6 +1024,7 @@ jobs:
|
|||||||
python --version
|
python --version
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
postgresql=$(echo "${{ matrix.postgresql-group }}" | sed "s/:/-/g")
|
postgresql=$(echo "${{ matrix.postgresql-group }}" | sed "s/:/-/g")
|
||||||
|
echo "postgresql=${postgresql}" >> $GITHUB_OUTPUT
|
||||||
cov_params=()
|
cov_params=()
|
||||||
if [[ "${{ needs.info.outputs.skip_coverage }}" != "true" ]]; then
|
if [[ "${{ needs.info.outputs.skip_coverage }}" != "true" ]]; then
|
||||||
cov_params+=(--cov="homeassistant.components.recorder")
|
cov_params+=(--cov="homeassistant.components.recorder")
|
||||||
@ -1054,7 +1057,8 @@ jobs:
|
|||||||
if: needs.info.outputs.skip_coverage != 'true'
|
if: needs.info.outputs.skip_coverage != 'true'
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: actions/upload-artifact@v3.1.0
|
||||||
with:
|
with:
|
||||||
name: coverage-${{ matrix.python-version }}-postgresql
|
name: coverage-${{ matrix.python-version }}-${{
|
||||||
|
steps.pytest-partial.outputs.postgresql }}
|
||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
- name: Check dirty
|
- name: Check dirty
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user