Fix tests, run against ci
Some checks failed
ci / build-image (push) Successful in 50s
ci / test-image (push) Failing after 3s

This commit is contained in:
Jonathan Cremin 2025-06-13 09:32:37 +01:00
parent b352b65a0c
commit 677dfe25af
6 changed files with 175 additions and 113 deletions

View file

@ -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