Skip to content

Test / instructor-embedders #9

Test / instructor-embedders

Test / instructor-embedders #9

name: Test / instructor-embedders
on:
schedule:
- cron: "0 0 * * *"
pull_request:
paths:
- 'integrations/instructor-embedders/**'
- '.github/workflows/instructor_embedders.yml'
defaults:
run:
working-directory: integrations/instructor-embedders
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Ruff
uses: chartboost/ruff-action@v1
with:
src: integrations/instructor-embedders
- name: Install instructor-embedders
run: |
pip install -e .[dev]
- name: Run unit tests
run: |
pytest -v -m unit
- name: Run integration tests
run: |
pytest -v -m integration