Update tests.
Keep watching a workflow with modularity-testing-framework will be stable.
This commit is contained in:
parent
a7cbd8ce37
commit
92fcf2522e
5 changed files with 33 additions and 82 deletions
18
Makefile
18
Makefile
|
|
@ -1,16 +1,8 @@
|
|||
IMAGE_NAME = ruby
|
||||
|
||||
MODULEMDURL=file://ruby.yaml
|
||||
|
||||
default: run
|
||||
default: test
|
||||
|
||||
build:
|
||||
docker build --tag=$(IMAGE_NAME) .
|
||||
|
||||
run: build
|
||||
docker run -d $(IMAGE_NAME)
|
||||
|
||||
test: build
|
||||
cd tests; MODULE=docker MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
|
||||
cd tests; MODULE=rpm MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
|
||||
docker build -t ruby .
|
||||
docker run -d ruby
|
||||
|
||||
test:
|
||||
$(MAKE) -C tests $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue