Restrict CI jobs by branch/schedule
parent
acae88fcdc
commit
423d4721c0
|
@ -4,18 +4,24 @@ stages:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
only:
|
||||||
|
- master
|
||||||
tags:
|
tags:
|
||||||
- blockbook
|
- blockbook
|
||||||
script: make build
|
script: make build
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
stage: test
|
stage: test
|
||||||
|
only:
|
||||||
|
- master
|
||||||
tags:
|
tags:
|
||||||
- blockbook
|
- blockbook
|
||||||
script: make test
|
script: make test
|
||||||
|
|
||||||
integration-test:
|
integration-test:
|
||||||
stage: test
|
stage: test
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
tags:
|
tags:
|
||||||
- blockbook
|
- blockbook
|
||||||
script: make test-integration ARGS="-run='TestIntegration/(bcash|bgold|bitcoin|dash|dogecoin|litecoin|vertcoin|zcash)=main/'"
|
script: make test-integration ARGS="-run='TestIntegration/(bcash|bgold|bitcoin|dash|dogecoin|litecoin|vertcoin|zcash)=main/'"
|
||||||
|
|
Loading…
Reference in New Issue