Skip to content

Commit

Permalink
[Makefile] Add frontend build to test target
Browse files Browse the repository at this point in the history
  • Loading branch information
usatie committed Oct 28, 2023
1 parent 661c9bb commit e4e4b49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ clean:

.PHONY: test
test: build
# Test building frontend
docker compose -f compose.yml -f compose.dev.yml run frontend npm run build
# Unit tests for backend
docker compose -f compose.yml -f compose.dev.yml run backend sh -c "yarn test"
docker compose -f compose.yml -f compose.dev.yml run backend yarn test
# E2E tests for backend
docker compose -f compose.yml -f compose.dev.yml run backend sh -c "yarn test:e2e"
docker compose -f compose.yml -f compose.dev.yml run backend yarn test:e2e

.PHONY: e2e
e2e:
Expand Down

0 comments on commit e4e4b49

Please sign in to comment.