update make test command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
6
Makefile
6
Makefile
@@ -10,7 +10,9 @@ schema:
|
|||||||
cd server-python; poetry run python -m generate_schema; cd -
|
cd server-python; poetry run python -m generate_schema; cd -
|
||||||
build:
|
build:
|
||||||
docker build -t sensor-web-v2 .
|
docker build -t sensor-web-v2 .
|
||||||
|
build-fe:
|
||||||
|
docker build -t sensor-web-v2-fe --target frontend .
|
||||||
run: build
|
run: build
|
||||||
docker run --rm -d -p 8080:8080 sensor-web-v2
|
docker run --rm -d -p 8080:8080 sensor-web-v2
|
||||||
test: build
|
test: build-fe
|
||||||
docker run --rm sensor-web-v2 npm run test:ci
|
docker run --rm sensor-web-v2-fe npm run test:ci
|
||||||
|
|||||||
Reference in New Issue
Block a user