Test / instructor-embedders #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Hatch | |
run: pip install --upgrade hatch | |
- name: Lint | |
run: hatch run lint:all | |
- name: Run tests | |
run: hatch run cov |