Browse Source

Merge "Move unittest job in-tree"

changes/94/581394/1
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
8ab0a8af1c
2 changed files with 24 additions and 0 deletions
  1. +13
    -0
      .zuul.yaml
  2. +11
    -0
      playbooks/unittest/run.yaml

+ 13
- 0
.zuul.yaml View File

@ -0,0 +1,13 @@
- job:
name: openstack-planet-unittest
description: |
Runs unit test on openstack-plannet project.
run: playbooks/unittest/run.yaml
- project:
check:
jobs:
- openstack-planet-unittest
gate:
jobs:
- openstack-planet-unittest

+ 11
- 0
playbooks/unittest/run.yaml View File

@ -0,0 +1,11 @@
- hosts: all
tasks:
- name: Run test.py
shell:
chdir: '{{ zuul.project.src_dir }}'
executable: /bin/bash
cmd: |
set -e
set -x
python test.py

Loading…
Cancel
Save