Skip to content

Commit 08dd6ee

Browse files
committed
Run
1 parent 80cf926 commit 08dd6ee

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/compat.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Compat Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test-compat:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
python-version: ['3.10', '3.12', '3.13']
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install setuptools wheel
30+
pip install pytest
31+
pip install .
32+
33+
- name: Run compatibility tests
34+
run: |
35+
pytest google/genai/tests/interactions/test_compat_*.py -v

0 commit comments

Comments
 (0)