Skip to content

Commit

Permalink
Update ci-cd.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AquibPy committed May 9, 2024
1 parent bc95450 commit cb6e572
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,35 @@ jobs:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Set Google API Key
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
- name: Set HuggingFace API Key
env:
HUGGINGFACE_API_KEY: ${{ secrets.HUGGINGFACE_API_KEY }}
- name: Set Groq API Key
env:
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
- name: Set MongoDB Credentials
env:
MONGO_USERNAME: ${{ secrets.MONGO_USERNAME }}
MONGO_PASSWORD: ${{ secrets.MONGO_PASSWORD }}
MONGO_DBNAME: ${{ secrets.MONGO_DBNAME }}
MONGO_COLLECTION: ${{ secrets.MONGO_COLLECTION }}
- name: Set LangChain API Key
env:
LANGCHAIN_API_KEY: ${{ secrets.LANGCHAIN_API_KEY }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
pytest test_main.py

0 comments on commit cb6e572

Please sign in to comment.