Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Oct 15, 2018
2 parents 67ea617 + a2bc541 commit 57d9ae0
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ architect:
merge:
script: |
pdd --file=/dev/null
mvn clean install -Pqulice -Pintegration --errors --settings ../settings.xml
mvn clean install -Pqulice -Pintegration -Pcucumber --errors --settings ../settings.xml
deploy:
script: |
mvn clean deploy -Pqulice -Pintegration --errors --settings ../settings.xml
mvn clean deploy -Pqulice -Pintegration -Pcucumber --errors --settings ../settings.xml
release:
script: |-
[[ "${tag}" =~ ^[0-9]+(\.[0-9]+){2}$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean deploy -Pcucumber-seeds -Psonar -Pqulice -Pintegration -Psonatype --errors --settings ../settings.xml
mvn clean deploy -Pcucumber-seeds -Psonar -Pqulice -Pintegration -Pcucumber -Psonatype --errors --settings ../settings.xml
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,14 @@ SOFTWARE.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>2.22.0</version>
</dependency>
</dependencies>
<configuration>
<includes>
<include>**/*ItCase.java</include>
Expand Down
1 change: 0 additions & 1 deletion seeds-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ SOFTWARE.
<groupId>org.cactoos</groupId>
<artifactId>cactoos</artifactId>
<version>0.36</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ public Context context() {

@Override
public Scenario scenario() {
if (this.scenarios.get(Thread.currentThread().getId()) == null) {
this.start();
}
return this.scenarios.get(Thread.currentThread().getId());
}

Expand Down
1 change: 0 additions & 1 deletion seeds-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ SOFTWARE.
<groupId>com.jcabi</groupId>
<artifactId>jcabi-jdbc</artifactId>
<version>0.17.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
Expand Down
37 changes: 31 additions & 6 deletions test-steps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,36 @@ SOFTWARE.
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.cactoos</groupId>
<artifactId>cactoos</artifactId>
<version>0.36</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>cucumber</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit4</artifactId>
<version>2.19.1</version>
</dependency>
</dependencies>
<configuration>
<includes>
<include>**/*CucumberCase.java</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
"~@inprogress"
}
)
public final class ParallelTest {
public final class ParallelCucumberCase {

/**
* Ctor.
*/
private ParallelTest() {
private ParallelCucumberCase() {
}

/**
Expand Down

0 comments on commit 57d9ae0

Please sign in to comment.