ci: run tests
added precompile and test "steps".
This commit is contained in:
@@ -12,6 +12,23 @@ clone:
|
|||||||
depth: 0
|
depth: 0
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: precompile
|
||||||
|
image: docker.io/hrfee/jfa-go-build-docker:latest
|
||||||
|
environment:
|
||||||
|
JFA_GO_SNAPSHOT: y
|
||||||
|
JFA_GO_BUILT_BY:
|
||||||
|
from_secret: BUILT_BY
|
||||||
|
commands:
|
||||||
|
- npm i
|
||||||
|
- make precompile
|
||||||
|
- name: test
|
||||||
|
image: docker.io/hrfee/jfa-go-build-docker:latest
|
||||||
|
environment:
|
||||||
|
JFA_GO_SNAPSHOT: y
|
||||||
|
JFA_GO_BUILT_BY:
|
||||||
|
from_secret: BUILT_BY
|
||||||
|
commands:
|
||||||
|
- make test
|
||||||
- name: build
|
- name: build
|
||||||
image: docker.io/hrfee/jfa-go-build-docker:latest
|
image: docker.io/hrfee/jfa-go-build-docker:latest
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user