File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 python-version :
77 required : true
88 type : string
9- os :
10- required : true
11- type : string
129
1310jobs :
1411 test :
15- runs-on : ${{ inputs.os }}
12+ runs-on : ubuntu-latest
1613 timeout-minutes : 15
1714
18- defaults :
19- run :
20- working-directory : integrations/adk-py
21-
2215 steps :
2316 - uses : actions/checkout@v4
2417
18+ - name : Set up Python
19+ uses : actions/setup-python@v5
20+ with :
21+ python-version : ${{ inputs.python-version }}
22+
2523 - name : Set up uv
2624 uses : astral-sh/setup-uv@v3
2725 with :
2826 enable-cache : true
2927 cache-dependency-glob : |
28+ py/requirements-build.txt
29+ py/requirements-dev.txt
30+ py/setup.py
31+ py/noxfile.py
3032 integrations/adk-py/pyproject.toml
3133 integrations/adk-py/uv.lock
3234
33- - name : Install dependencies
35+ - name : Install deprecated package compatibility dependencies
36+ working-directory : integrations/adk-py
3437 run : |
35- uv python install ${{ inputs.python-version }}
3638 uv sync
3739
38- - name : Lint with ruff
39- if : ${{ inputs.os == 'ubuntu-latest' }}
40+ - name : Lint deprecated compatibility package
41+ working-directory : integrations/adk-py
4042 run : |
41- uv run ruff check $(git ls-files '*.py' | grep -v 'examples/')
43+ uv run ruff check src
4244
43- - name : Run tests
45+ - name : Run deprecated compatibility tests
46+ working-directory : integrations/adk-py
4447 run : |
45- uv run pytest
48+ uv run pytest src/tests/test_reexports.py
4649
47- - name : Test import
50+ - name : Test deprecated package import
51+ working-directory : integrations/adk-py
4852 run : |
4953 uv run python -c "import braintrust_adk; print('braintrust_adk imported successfully')"
5054 uv run python -c "from braintrust_adk import setup_braintrust; print('setup_braintrust imported successfully')"
Original file line number Diff line number Diff line change 4848
4949 adk-py :
5050 uses : ./.github/workflows/adk-py-test.yaml
51- strategy :
52- fail-fast : false
53- matrix :
54- python-version : ["3.10", "3.11", "3.12"]
55- os : [ubuntu-latest, windows-latest]
5651 with :
57- python-version : ${{ matrix.python-version }}
58- os : ${{ matrix.os }}
52+ python-version : " 3.13"
5953
6054 langchain-py :
6155 uses : ./.github/workflows/langchain-py-test.yaml
You can’t perform that action at this time.
0 commit comments