Skip to content

fix(ai-module): add retries in the requests #126

fix(ai-module): add retries in the requests

fix(ai-module): add retries in the requests #126

name: "[pytest] Unique SDK"
env:
PACKAGE: unique_sdk
on:
pull_request:
paths:
- 'unique_sdk/**'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Poetry
run: |
POETRY_VERSION='1.8.3'
PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install poetry==$POETRY_VERSION
- name: Install dependencies
working-directory: ${{ env.PACKAGE }}
run: poetry install
- name: Run tests
working-directory: ${{ env.PACKAGE }}
run: poetry run pytest