Skip to content

Commit

Permalink
chore: Add a test target to the Makefile (#993)
Browse files Browse the repository at this point in the history
This PR adds 3 target to the Makefile.

- `make test-frontend` will run vitest tests.
- `make test-backend` will run pytest tests.
- `make test` will run all tests.
  • Loading branch information
rouk1 authored Dec 26, 2024
1 parent fda5feb commit 469d1e5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ serve-skore-ui:
--host 0.0.0.0 \
--port 22140 \
--timeout-graceful-shutdown 0

lint:
pre-commit run --all-files

test-frontend:
cd skore-ui && npm install
cd skore-ui && npm run test:unit

test-backend:
cd skore && pytest tests

test: lint test-frontend test-backend

0 comments on commit 469d1e5

Please sign in to comment.