Skip to content

Commit

Permalink
use hatch to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Dec 12, 2023
1 parent 2f1b737 commit 2e1b8c6
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/instructor_embedders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2e1b8c6

Please sign in to comment.