Skip to content

Commit

Permalink
Added bats and tests for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Mar 28, 2019
1 parent f8427d4 commit 6cf9ed8
Show file tree
Hide file tree
Showing 1,184 changed files with 49,495 additions and 317 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "docs/src/test/bats/test_helper/bats-assert"]
path = docs/src/test/bats/test_helper/bats-assert
url = https://github.com/ztombol/bats-assert
[submodule "docs/src/test/bats/test_helper/bats-support"]
path = docs/src/test/bats/test_helper/bats-support
url = https://github.com/ztombol/bats-support
16 changes: 16 additions & 0 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution><!-- Run our version calculation script -->
<id>Run tests</id>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/src/test/bash/run-bats.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
Expand Down
Loading

0 comments on commit 6cf9ed8

Please sign in to comment.