Browse Source

Always run py27 test

The py27 test ensures that all specs are following a specific format.
The default py27 tests have an irrelevant-files list that ignores
running if especially only .rst files get updated. Override the
irrelevant files list so that it runs for nearly all changes,
only skip for release-notes (even if they do not exist here).

Change-Id: Iffb6345ddf490820ca7495f0e4a0e722acfba898
Andreas Jaeger 6 months ago
parent
commit
32a202874c
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      .zuul.yaml

+ 8
- 2
.zuul.yaml View File

@@ -3,7 +3,13 @@
3 3
       - openstack-specs-jobs
4 4
     check:
5 5
       jobs:
6
-        - openstack-tox-py27
6
+        - openstack-tox-py27:
7
+            # Override default list of files since the default
8
+            # ignores .rst files but we need to test .rst files here.
9
+            irrelevant-files:
10
+              - ^releasenotes/.*$
7 11
     gate:
8 12
       jobs:
9
-        - openstack-tox-py27
13
+        - openstack-tox-py27:
14
+            irrelevant-files:
15
+              - ^releasenotes/.*$

Loading…
Cancel
Save