Skip to content

fix: implement the kb_base_id and data_source_id into environments an… #1919

fix: implement the kb_base_id and data_source_id into environments an…

fix: implement the kb_base_id and data_source_id into environments an… #1919

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
testApp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Runs tests
run: pytest
env:
STAGE: TEST
AWS_DEFAULT_REGION: sa-east-1
- name: Create coverage report
run: |
pytest --cov=./src/
env:
STAGE: TEST
AWS_DEFAULT_REGION: sa-east-1
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3