Skip to content

Commit 1896d2f

Browse files
tulinkryVladimir Kotal
authored andcommitted
Splitting the install and test phase (#2430)
1 parent d9ed2e6 commit 1896d2f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

opengrok-tools/pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,28 @@ Portions Copyright (c) 2017-2018, Chris Fraire <[email protected]>.
139139
<phase>package</phase>
140140
</execution>
141141
<execution>
142-
<id>python-test</id>
142+
<id>python-test-install</id>
143143
<configuration>
144144
<executable>env/bin/python</executable>
145145
<workingDirectory>${project.build.directory}</workingDirectory>
146146
<arguments>
147147
<argument>setup.py</argument>
148148
<argument>install</argument>
149+
</arguments>
150+
<skip>${skipTests}</skip>
151+
</configuration>
152+
<phase>test</phase>
153+
<goals>
154+
<goal>exec</goal>
155+
</goals>
156+
</execution>
157+
<execution>
158+
<id>python-test</id>
159+
<configuration>
160+
<executable>env/bin/python</executable>
161+
<workingDirectory>${project.build.directory}</workingDirectory>
162+
<arguments>
163+
<argument>setup.py</argument>
149164
<argument>test</argument>
150165
</arguments>
151166
<skip>${skipTests}</skip>

0 commit comments

Comments
 (0)