Fix tests, run against ci
This commit is contained in:
parent
b352b65a0c
commit
677dfe25af
6 changed files with 175 additions and 113 deletions
22
Makefile
22
Makefile
|
@ -10,36 +10,36 @@ help:
|
|||
|
||||
.PHONY: build
|
||||
build: ## Run `yarn run build`
|
||||
docker-compose run --rm app yarn run build
|
||||
podman compose run --rm app yarn run build
|
||||
|
||||
.PHONY: test
|
||||
test: ## Run tests
|
||||
docker-compose run --rm app yarn test
|
||||
podman compose run --rm app yarn test
|
||||
|
||||
.PHONY: logs
|
||||
logs: ## Tail the app and worker logs
|
||||
docker-compose logs -f app worker
|
||||
podman compose logs -f app worker
|
||||
|
||||
.PHONY: migrate
|
||||
migrate: ## Migrate database schema
|
||||
docker-compose run --rm app yarn run initdb
|
||||
podman compose run --rm app yarn run initdb
|
||||
|
||||
.PHONY: init
|
||||
init: ## Migrate database schema
|
||||
docker-compose run --rm app yarn run init
|
||||
podman compose run --rm app yarn run init
|
||||
|
||||
.PHONY: watch-frontend
|
||||
watch-frontend: ## Build and watch for changes
|
||||
docker-compose run --rm app yarn run watch
|
||||
podman compose run --rm app yarn run watch
|
||||
|
||||
.PHONY: docker-compose-up
|
||||
docker-compose-up: ## Start (and create) docker containers
|
||||
docker-compose up -d
|
||||
.PHONY: podman compose-up
|
||||
podman compose-up: ## Start (and create) docker containers
|
||||
podman compose up -d
|
||||
|
||||
.PHONY: yarn
|
||||
yarn: ## Update yarn dependencies
|
||||
docker-compose run --rm app yarn
|
||||
podman compose run --rm app yarn
|
||||
|
||||
.PHONY: shell
|
||||
shell: ## Run shell
|
||||
docker-compose run --rm app sh
|
||||
podman compose run --rm app sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue