diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index d01921418..71993e49e 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -31,7 +31,8 @@ blocks: commands: - for dir in kafka examples ; do (cd $dir && go get ./...) ; done - for dir in kafka examples ; do (cd $dir && go install ./...) ; done - - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... ./kafka/... ./kafkatest/... ./soaktest/... ; fi + - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... \ + ./kafka/... ./kafkatest/... ./soaktest/... ./schemaregistry/...; fi - name: "Dynamic Build" commands: - echo @@ -39,7 +40,8 @@ blocks: - bash mk/bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} tmp-build - for dir in kafka examples ; do (cd $dir && go get -tags dynamic ./...) ; done - for dir in kafka examples ; do (cd $dir && go install -tags dynamic ./...); done - - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... ./kafka/... ./kafkatest/... ./soaktest/... ; fi + - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... \ + ./kafka/... ./kafkatest/... ./soaktest/... ./schemaregistry/...; fi - for dir in kafka ; do (cd $dir && go test -timeout 180s -v -tags dynamic ./...) ; done - name: "Go 1.16 linux bundled librdkafka" dependencies: [ ] @@ -65,14 +67,16 @@ blocks: commands: - for dir in kafka examples ; do (cd $dir && go get ./...) ; done - for dir in kafka examples ; do (cd $dir && go install ./...) ; done - - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... ./kafka/... ./kafkatest/... ./soaktest/... ; fi + - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... \ + ./kafka/... ./kafkatest/... ./soaktest/... ./schemaregistry/...; fi - name: "Dynamic Build" commands: - echo - bash mk/bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} tmp-build - for dir in kafka examples ; do (cd $dir && go get -tags dynamic ./...) ; done - for dir in kafka examples ; do (cd $dir && go install -tags dynamic ./...); done - - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... ./kafka/... ./kafkatest/... ./soaktest/... ; fi + - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... \ + ./kafka/... ./kafkatest/... ./soaktest/... ./schemaregistry/...; fi - for dir in kafka ; do (cd $dir && go test -timeout 180s -v -tags dynamic ./...); done - name: "Go 1.16 linux arm64 bundled librdkafka" dependencies: [ ] @@ -94,7 +98,8 @@ blocks: commands: - for dir in kafka examples ; do (cd $dir && go get ./...) ; done - for dir in kafka examples ; do (cd $dir && go install ./...) ; done - - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... ./kafka/... ./kafkatest/... ./soaktest/... ; fi + - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... \ + ./kafka/... ./kafkatest/... ./soaktest/... ./schemaregistry/...; fi # TODO: Disabled because uses PowerShell instead of sh # - name: "Go 1.16 Windows bundled librdkafka" # dependencies: [ ] @@ -117,4 +122,5 @@ blocks: # commands: # - for dir in kafka examples ; do (cd $dir && go get ./...) ; done # - for dir in kafka examples ; do (cd $dir && go install ./...) ; done - # - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... ./kafka/... ./kafkatest/... ./soaktest/... ; fi + # - if [[ -f .do_lint ]]; then $GOLINT -set_exit_status ./examples/... \ + # ./kafka/... ./kafkatest/... ./soaktest/... ./schemaregistry/...; fi