mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
Run acceptance tests after build
This commit is contained in:
parent
deb60c1ec8
commit
b46f7cc3c4
3 changed files with 8 additions and 3 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -10,8 +10,12 @@ jobs:
|
|||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: test
|
||||
- name: tests
|
||||
run: make docker-test
|
||||
|
||||
- name: build
|
||||
run: make docker-build-static
|
||||
run: make docker-build-static
|
||||
|
||||
- name: acceptance-tests
|
||||
run:
|
||||
docker build -t bats -f Dockerfile.bats .
|
||||
|
|
|
|||
3
Makefile
3
Makefile
|
|
@ -20,4 +20,5 @@ docker-build-static:
|
|||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.14 make build-static
|
||||
|
||||
acceptance:
|
||||
bats acceptance.bats
|
||||
docker build -t bats -f Dockerfile.bats .
|
||||
docker run -t bats acceptance.bats
|
||||
|
|
|
|||
0
acceptance.bats
Normal file → Executable file
0
acceptance.bats
Normal file → Executable file
Loading…
Reference in a new issue