Browse Source

🔧 Do not store coverage for all matrix combinations

pull/14504/head
Sebastián Ramírez 7 months ago
parent
commit
059f25f0ac
  1. 8
      .github/workflows/test.yml

8
.github/workflows/test.yml

@ -49,6 +49,7 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ "3.14" ]
pydantic-version: [ "pydantic-v2" ]
coverage: [true]
include:
- os: macos-latest
python-version: "3.8"
@ -62,18 +63,23 @@ jobs:
- os: macos-latest
python-version: "3.10"
pydantic-version: "pydantic-v2"
coverage: false
- os: windows-latest
python-version: "3.11"
pydantic-version: "pydantic-v1"
coverage: false
- os: ubuntu-latest
python-version: "3.12"
pydantic-version: "pydantic-v2"
coverage: false
- os: macos-latest
python-version: "3.13"
pydantic-version: "pydantic-v1"
coverage: false
- os: windows-latest
python-version: "3.13"
pydantic-version: "pydantic-v2"
coverage: false
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@ -112,7 +118,9 @@ jobs:
env:
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
# Do not store coverage for all possible combinations to avoid file size max errors in Smokeshow
- name: Store coverage files
if: matrix.coverage == true
uses: actions/upload-artifact@v5
with:
name: coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pydantic-version }}

Loading…
Cancel
Save