Skip to content

Commit

Permalink
:octocat: 使用 GitHub Actions 进行持续集成测试
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 18, 2022
1 parent 8d78e72 commit 1c56ac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<br><br>
小而美的博客系统,专为程序员设计
<br><br>
<a title="Build Status" target="_blank" href="https://travis-ci.org/88250/solo"><img src="https://img.shields.io/travis/88250/solo.svg?style=flat-square"></a>
<a title="Build Status" target="_blank" href="https://github.com/88250/solo/actions/workflows/ci.yml"><img src="https://img.shields.io/github/workflow/status/88250/solo/Build%20Test?style=flat-square"></a>
<a title="Docker Image CI" target="_blank" href="https://github.com/88250/solo/actions"><img src="https://img.shields.io/github/workflow/status/88250/solo/Docker%20Image%20CI?color=blue&label=Actions&logo=github&style=flat-square"></a>
<a title="Coverage Status" target="_blank" href="https://coveralls.io/github/88250/solo"><img src="https://img.shields.io/coveralls/github/88250/solo.svg?style=flat-square&color=CC9933"></a>
<a title="Code Size" target="_blank" href="https://github.com/88250/solo"><img src="https://img.shields.io/github/languages/code-size/88250/solo.svg?style=flat-square&color=6699FF"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* {@link LinkRepository} test case.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.0.2, Jul 9, 2020
* @version 1.0.0.3, Jan 18, 2022
*/
@Test(suiteName = "repository")
public final class LinkRepositoryImplTestCase extends AbstractTestCase {
Expand Down Expand Up @@ -59,6 +59,7 @@ public void test() throws Exception {
link2.put(Link.LINK_TITLE, "link title");
link2.put(Link.LINK_DESCRIPTION, "link description");
link2.put(Link.LINK_ADDRESS, "link address");
link2.put(Link.LINK_ICON, "link icon");
link2.put(Link.LINK_ORDER, link2Order);

transaction = linkRepository.beginTransaction();
Expand All @@ -71,6 +72,7 @@ public void test() throws Exception {
link3.put(Link.LINK_TITLE, "link title");
link3.put(Link.LINK_DESCRIPTION, "link description");
link3.put(Link.LINK_ADDRESS, "link address");
link3.put(Link.LINK_ICON, "link icon");
link3.put(Link.LINK_ORDER, link3Order);
transaction = linkRepository.beginTransaction();
linkRepository.add(link3);
Expand Down

0 comments on commit 1c56ac8

Please sign in to comment.