|
@ -87,9 +87,9 @@ jobs: |
|
|
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }} |
|
|
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }} |
|
|
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }} |
|
|
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }} |
|
|
- name: Store coverage files |
|
|
- name: Store coverage files |
|
|
uses: actions/upload-artifact@v3 |
|
|
uses: actions/upload-artifact@v4 |
|
|
with: |
|
|
with: |
|
|
name: coverage |
|
|
name: coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }} |
|
|
path: coverage |
|
|
path: coverage |
|
|
|
|
|
|
|
|
coverage-combine: |
|
|
coverage-combine: |
|
@ -108,17 +108,18 @@ jobs: |
|
|
# cache: "pip" |
|
|
# cache: "pip" |
|
|
# cache-dependency-path: pyproject.toml |
|
|
# cache-dependency-path: pyproject.toml |
|
|
- name: Get coverage files |
|
|
- name: Get coverage files |
|
|
uses: actions/download-artifact@v3 |
|
|
uses: actions/download-artifact@v4 |
|
|
with: |
|
|
with: |
|
|
name: coverage |
|
|
pattern: coverage-* |
|
|
path: coverage |
|
|
path: coverage |
|
|
|
|
|
merge-multiple: true |
|
|
- run: pip install coverage[toml] |
|
|
- run: pip install coverage[toml] |
|
|
- run: ls -la coverage |
|
|
- run: ls -la coverage |
|
|
- run: coverage combine coverage |
|
|
- run: coverage combine coverage |
|
|
- run: coverage report |
|
|
- run: coverage report |
|
|
- run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}" |
|
|
- run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}" |
|
|
- name: Store coverage HTML |
|
|
- name: Store coverage HTML |
|
|
uses: actions/upload-artifact@v3 |
|
|
uses: actions/upload-artifact@v4 |
|
|
with: |
|
|
with: |
|
|
name: coverage-html |
|
|
name: coverage-html |
|
|
path: htmlcov |
|
|
path: htmlcov |
|
|