diff --git a/.github/workflows/chatbot.yml b/.github/workflows/chatbot.yml index 5a42251..cc39d05 100644 --- a/.github/workflows/chatbot.yml +++ b/.github/workflows/chatbot.yml @@ -1,4 +1,4 @@ -name: Chatbot CI +name: Chatbot CI on: push: @@ -12,32 +12,22 @@ on: 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 + - name: Run unit and API tests env: JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }} - run: pytest rag-engine/tests -q --tb=short --ignore=rag-engine/tests/test_injection_real_pdf.py \ No newline at end of file + run: pytest rag-engine/tests -q --tb=short --ignore=rag-engine/tests/test_injection_real_pdf.py