add test and add test step to pipeline
This commit is contained in:
13
.drone.yml
13
.drone.yml
@@ -12,8 +12,17 @@ steps:
|
||||
- name: pull
|
||||
commands:
|
||||
- cd /home/marco/containers/data/sensor-web-v2
|
||||
- git reset --hard origin/master
|
||||
- git pull origin master
|
||||
- git fetch
|
||||
- git reset --hard origin/master
|
||||
|
||||
- name: build
|
||||
commands:
|
||||
- make build
|
||||
|
||||
- name: test
|
||||
commands:
|
||||
- make test
|
||||
|
||||
- name: deploy
|
||||
commands:
|
||||
- cd /home/marco/containers
|
||||
|
||||
Reference in New Issue
Block a user