Skip to content

fix: make truncate_max_length=0 equivalent to truncate_max_length=None #46

fix: make truncate_max_length=0 equivalent to truncate_max_length=None

fix: make truncate_max_length=0 equivalent to truncate_max_length=None #46

Workflow file for this run

name: Run Tests
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
env:
JINA_API_TOKEN: ${{ secrets.JINA_API_TOKEN }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Run tests
run: pytest tests