fix: use podman-compose (installed via Homebrew) instead of podman compose
Build / build (push) Successful in 45s
Build / build (push) Successful in 45s
This commit is contained in:
@@ -94,16 +94,16 @@ podman-build:
|
||||
@podman build -t music-server .
|
||||
|
||||
podman-run:
|
||||
@podman compose up --build
|
||||
@podman-compose up --build
|
||||
|
||||
podman-down:
|
||||
@podman compose down
|
||||
@podman-compose down
|
||||
|
||||
# Run integration tests with podman
|
||||
# Starts a test PostgreSQL container, runs tests, then cleans up
|
||||
test-integration:
|
||||
@echo "Starting test database container..."
|
||||
@podman compose -f compose.test.yaml up -d
|
||||
@podman-compose -f compose.test.yaml up -d
|
||||
@sleep 10
|
||||
@echo "Running integration tests..."
|
||||
@. .env.test && go test -v -timeout 30m ./...
|
||||
@@ -116,7 +116,7 @@ test-integration-tc:
|
||||
# Stop and remove test database container
|
||||
test-integration-down:
|
||||
@echo "Stopping test database container..."
|
||||
@podman compose -f compose.test.yaml down -v
|
||||
@podman-compose -f compose.test.yaml down -v
|
||||
|
||||
# Create DB container
|
||||
docker-run:
|
||||
|
||||
Reference in New Issue
Block a user