Skip to content

Commit d9e2542

Browse files
updated the requirement.txt in .githhub and updated the pipeline path
1 parent a527e1a commit d9e2542

3 files changed

Lines changed: 38 additions & 5 deletions

File tree

.github/requirements.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
fastapi
2+
uvicorn
3+
autogen-agentchat==0.7.5
4+
azure-cosmos
5+
azure-monitor-opentelemetry
6+
azure-monitor-events-extension
7+
azure-identity
8+
python-dotenv
9+
python-multipart
10+
opentelemetry-api
11+
opentelemetry-sdk
12+
opentelemetry-exporter-otlp-proto-grpc
13+
opentelemetry-instrumentation-fastapi
14+
opentelemetry-instrumentation-openai
15+
opentelemetry-exporter-otlp-proto-http
16+
17+
semantic-kernel[azure]==1.32.2
18+
azure-ai-projects==1.0.0b11
19+
openai==1.84.0
20+
azure-ai-inference==1.0.0b9
21+
azure-search-documents
22+
azure-ai-evaluation
23+
24+
opentelemetry-exporter-otlp-proto-grpc
25+
26+
# Date and internationalization
27+
babel>=2.9.0
28+
29+
# Testing tools
30+
pytest>=8.2,<9 # Compatible version for pytest-asyncio
31+
pytest-asyncio==0.24.0
32+
pytest-cov==5.0.0

.github/workflows/pylint.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
paths:
66
- 'src/backend/**/*.py'
77
- 'src/mcp_server/**/*.py'
8-
- 'src/backend/requirements.txt'
8+
- '.github/workflows/requirements.txt'
99
- '.flake8'
1010
- '.github/workflows/pylint.yml'
11+
workflow_dispatch:
1112

1213

1314
jobs:
@@ -27,7 +28,7 @@ jobs:
2728
- name: Install dependencies
2829
run: |
2930
python -m pip install --upgrade pip
30-
pip install -r src/backend/requirements.txt
31+
pip install -r .github/workflows/requirements.txt
3132
pip install flake8 # Ensure flake8 is installed explicitly
3233
3334
- name: Run flake8 and pylint

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- 'src/**/pyproject.toml'
1414
- 'pytest.ini'
1515
- 'conftest.py'
16-
- 'src/backend/requirements.txt'
16+
- '.github/workflows/requirements.txt'
1717
- '.github/workflows/test.yml'
1818
pull_request:
1919
types:
@@ -31,7 +31,7 @@ on:
3131
- 'src/mcp_server/**/*.py'
3232
- 'pytest.ini'
3333
- 'conftest.py'
34-
- 'src/backend/requirements.txt'
34+
- '.github/workflows/requirements.txt'
3535
- 'src/**/pyproject.toml'
3636
- '.github/workflows/test.yml'
3737

@@ -56,7 +56,7 @@ jobs:
5656
- name: Install dependencies
5757
run: |
5858
python -m pip install --upgrade pip
59-
pip install -r src/backend/requirements.txt
59+
pip install -r .github/workflows/requirements.txt
6060
6161
- name: Check if test files exist
6262
id: check_tests

0 commit comments

Comments
 (0)