Skip to content

Commit 92106f5

Browse files
authored
move syntaxt test verification to validate section (#2936)
1 parent b735e30 commit 92106f5

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

yaml/pom.xml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -81,44 +81,6 @@
8181
</resources>
8282

8383
<plugins>
84-
<plugin>
85-
<groupId>org.codehaus.mojo</groupId>
86-
<artifactId>exec-maven-plugin</artifactId>
87-
<version>${exec-maven-plugin.version}</version>
88-
<executions>
89-
<execution>
90-
<id>pip-install</id>
91-
<phase>test-compile</phase>
92-
<goals>
93-
<goal>exec</goal>
94-
</goals>
95-
<configuration>
96-
<executable>pip</executable>
97-
<arguments>
98-
<argument>install</argument>
99-
<argument>-r</argument>
100-
<argument>src/test/python/requirements-test.txt</argument>
101-
</arguments>
102-
</configuration>
103-
</execution>
104-
<execution>
105-
<id>python-test</id>
106-
<phase>test</phase>
107-
<goals>
108-
<goal>exec</goal>
109-
</goals>
110-
<configuration>
111-
<executable>python</executable>
112-
<workingDirectory>${project.basedir}</workingDirectory>
113-
<arguments>
114-
<argument>-m</argument>
115-
<argument>unittest</argument>
116-
<argument>src/test/python/yaml_syntax_test.py</argument>
117-
</arguments>
118-
</configuration>
119-
</execution>
120-
</executions>
121-
</plugin>
12284
</plugins>
12385
</build>
12486

@@ -142,6 +104,44 @@
142104
</execution>
143105
</executions>
144106
</plugin>
107+
<plugin>
108+
<groupId>org.codehaus.mojo</groupId>
109+
<artifactId>exec-maven-plugin</artifactId>
110+
<version>${exec-maven-plugin.version}</version>
111+
<executions>
112+
<execution>
113+
<id>pip-install</id>
114+
<phase>test-compile</phase>
115+
<goals>
116+
<goal>exec</goal>
117+
</goals>
118+
<configuration>
119+
<executable>pip</executable>
120+
<arguments>
121+
<argument>install</argument>
122+
<argument>-r</argument>
123+
<argument>src/test/python/requirements-test.txt</argument>
124+
</arguments>
125+
</configuration>
126+
</execution>
127+
<execution>
128+
<id>python-test</id>
129+
<phase>test</phase>
130+
<goals>
131+
<goal>exec</goal>
132+
</goals>
133+
<configuration>
134+
<executable>python</executable>
135+
<workingDirectory>${project.basedir}</workingDirectory>
136+
<arguments>
137+
<argument>-m</argument>
138+
<argument>unittest</argument>
139+
<argument>src/test/python/yaml_syntax_test.py</argument>
140+
</arguments>
141+
</configuration>
142+
</execution>
143+
</executions>
144+
</plugin>
145145
</plugins>
146146
</build>
147147
</profile>

0 commit comments

Comments
 (0)