Fix instructor-embedders
workflow
#11
Workflow file for this run
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: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- 'components/instructor-embedders/**' | ||
- '.github/workflows/components_instructor_embedders.yml' | ||
defaults: | ||
run: | ||
working-directory: components/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 | ||
src: components/instructor-embedders | ||
Check failure on line 30 in .github/workflows/components_instructor_embedders.yml GitHub Actions / Test / instructor-embeddersInvalid workflow file
|
||
- name: Install instructor-embedders | ||
run: | | ||
pip install -e .[dev] | ||
- name: Run tests | ||
run: | | ||
pytest |