openstack-zuul-jobs/playbooks/golang/run.yaml
Andreas Jaeger 2c1975f35c Convert golang tests to Zuul v3 native jobs
Convert the golang unit and fmt tests to Zuul v3 native jobs; use it in
the project-template.

Remove the legacy jobs, they were only used via the template.

Change-Id: Ib25ded1ef27d0a8e570d30f19e8cf87930e4e300
2018-02-18 20:50:40 +01:00

12 lines
227 B
YAML

- hosts: all
tasks:
- name: Run golang tests
shell:
chdir: '{{ zuul.project.src_dir }}'
executable: /bin/bash
cmd: |
set -e
set -x
make env {{ golang_target }}