Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Commit 886e02d

Browse files
committed
[minor] chore: add make test recipe, use make test in CI
1 parent 7d29d4a commit 886e02d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
sudo: false
22

3-
language: python
3+
language: 'python'
44

55
install:
66
- 'pip install awscli'
77

88
script:
9-
- 'for template in $(ls *.yml); do aws cloudformation validate-template --template-body file://$template; done'
9+
- 'make test'
1010

1111
before_deploy:
1212
- 'mkdir -p templates'

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
.PHONY: list-instance-types list-latest-amis
1+
.PHONY: list-instance-types list-latest-amis test
2+
3+
test:
4+
@for template in $$(ls *.yml); do \
5+
aws cloudformation validate-template --template-body file://$$template; \
6+
done
27

38
list-instance-types:
49
@instance_types=$$( \

0 commit comments

Comments
 (0)