chore: update CI workflow to use actions/cache@v3 and actions/upload-artifact@v3, add coverage summary step
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Cache uv dependencies
|
- name: Cache uv dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache/uv
|
~/.cache/uv
|
||||||
@@ -86,8 +86,13 @@ jobs:
|
|||||||
TERM: "dumb"
|
TERM: "dumb"
|
||||||
PYTHONIOENCODING: "utf-8"
|
PYTHONIOENCODING: "utf-8"
|
||||||
|
|
||||||
|
- name: Show coverage summary
|
||||||
|
run: |
|
||||||
|
echo "📊 Coverage Summary:"
|
||||||
|
uv run coverage report --show-missing
|
||||||
|
|
||||||
- name: Upload coverage artifacts
|
- name: Upload coverage artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: coverage-report
|
name: coverage-report
|
||||||
path: htmlcov/
|
path: htmlcov/
|
||||||
|
|||||||
Reference in New Issue
Block a user