Skip to content

Commit

Permalink
Added action to build and run tests inside container with one call
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-echeverria committed Jan 22, 2025
1 parent a919a85 commit 3d2fe90
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,18 @@ test:
# -----------------------------------------------------------------------------

# Build all containers.
.PHONY: build-container
build-container:
.PHONY: containers
containers:
bash build_containers.sh

# Run unit tests inside container
.PHONY: test-container
test-container:
docker run --rm vessel-test
docker run --rm vessel-test

# Build and run unit tests inside container
.PHONY: build-test-container
build-test-container: containers test-container

# -----------------------------------------------------------------------------
# All actions and checks equivalent to what the CI does.
Expand Down

0 comments on commit 3d2fe90

Please sign in to comment.