diff --git a/.github/workflows/instructor_embedders.yml b/.github/workflows/instructor_embedders.yml index 0c7765f11..05ecfb05f 100644 --- a/.github/workflows/instructor_embedders.yml +++ b/.github/workflows/instructor_embedders.yml @@ -24,19 +24,11 @@ jobs: 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: Install Hatch + run: pip install --upgrade hatch - - name: Run unit tests - run: | - pytest -v -m unit + - name: Lint + run: hatch run lint:all - - name: Run integration tests - run: | - pytest -v -m integration + - name: Run tests + run: hatch run cov