Skip to content

Commit d83fff4

Browse files
chore(TECHOPS-18898): fix tests (#7)
1 parent 84e6b40 commit d83fff4

5 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/release-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test Release
33
on:
44
pull_request:
55
branches:
6-
- main
6+
- master
77
workflow_call:
88

99
jobs:
@@ -12,16 +12,17 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Set up Python 3.9
15+
- name: Set up Python 3.10
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.9
18+
python-version: '3.10'
1919

2020
- name: Install dependencies
2121
run: |
2222
python -m pip install --upgrade pip
2323
python -m pip install -r requirements.txt
24-
python -m pip install pytest
24+
python -m pip install pytest pytest-asyncio
25+
python -m pip install -e .
2526
2627
- name: Run tests
2728
run: python -m pytest test/model_unit_test.py

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: '3.9'
23+
python-version: '3.10'
2424

2525
- name: Install build dependencies
2626
run: |

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10.0

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ authors = [
66
]
77
description = "OOAK: Object Oriented Agent Kit"
88
readme = "README.md"
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.10"
1010
dependencies = [
1111
"python-dotenv",
1212
"openai",
13-
"openai-agents",
13+
"openai-agents==0.2.6",
1414
]
1515
classifiers = [
1616
"Programming Language :: Python :: 3",

requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
dotenv
1+
python-dotenv
22
openai
3-
openai-agents
4-
circle-ooak
3+
openai-agents==0.2.6

0 commit comments

Comments
 (0)