forked from QuantumLogicsLabs/QuantumLearningWorkspace
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 848 Bytes
/
Copy pathchatbot.yml
File metadata and controls
33 lines (31 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Chatbot CI
on:
push:
paths:
- "chatbot/**"
- ".github/workflows/chatbot.yml"
pull_request:
paths:
- "chatbot/**"
jobs:
unit-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: chatbot
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: chatbot/requirements.txt
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run unit and API tests
env:
JWT_SECRET_KEY: ${{4d7d6b996c2e65e73b6c03056b45d675ab121910a01e49eb2a39b74aa6f8bae9}}
run: pytest rag-engine/tests -q --tb=short --ignore=rag-engine/tests/test_injection_real_pdf.py