mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: add better test coverage to individual tests, and all-tests task, gh … (#400)
* add better test coverage to individual tests, and all-tests task, gh action to surface * remove cache location * test version-file * updated uv setup for consistency * mypy fix * update naming * temporarily removed mypy from workflow
This commit is contained in:
committed by
GitHub
Unverified
parent
df9d85d1f0
commit
53866218d2
@@ -8,7 +8,8 @@ on:
|
||||
- "python/**"
|
||||
|
||||
env:
|
||||
UV_SEMVER: "0.8.x"
|
||||
# Configure a constant location for the uv cache
|
||||
UV_CACHE_DIR: /tmp/.uv-cache
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
@@ -24,15 +25,13 @@ jobs:
|
||||
run:
|
||||
working-directory: ./python
|
||||
env:
|
||||
# Configure a constant location for the uv cache
|
||||
UV_CACHE_DIR: /tmp/.uv-cache
|
||||
UV_PYTHON: ${{ matrix.python-version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
version: ${{ env.UV_SEMVER }}
|
||||
version-file: "python/pyproject.toml"
|
||||
enable-cache: true
|
||||
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
|
||||
cache-dependency-glob: "**/uv.lock"
|
||||
|
||||
Reference in New Issue
Block a user