Skip to content

Commit ccae381

Browse files
committed
#337 badges
1 parent 3409c50 commit ccae381

File tree

2 files changed

+37
-12
lines changed

2 files changed

+37
-12
lines changed

.github/workflows/codecov.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: codecov
3+
"on":
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
codecov:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up JDK
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 11
16+
- uses: actions/cache@v1
17+
with:
18+
path: ~/.m2/repository
19+
key: maven-${{ hashFiles('**/pom.xml') }}
20+
restore-keys: |
21+
maven-
22+
- name: Run tests
23+
run: mvn install -Pjacoco -DskipITs -Dinvoker.skip
24+
- name: Upload coverage to Codecov
25+
uses: codecov/codecov-action@v1
26+
with:
27+
file: ./target/site/jacoco/jacoco.xml
28+
fail_ci_if_error: true

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<img src="http://img.jcabi.com/logo-square.png" width="64px" height="64px" />
22

33
[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
4-
[![Managed by Zerocracy](https://www.0crat.com/badge/C3RUBL5H9.svg)](https://www.0crat.com/p/C3RUBL5H9)
54
[![DevOps By Rultor.com](http://www.rultor.com/b/jcabi/jcabi-http)](http://www.rultor.com/p/jcabi/jcabi-http)
65
[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)
76

8-
[![Build Status](https://travis-ci.org/jcabi/jcabi-http.svg?branch=master)](https://travis-ci.org/jcabi/jcabi-http)
7+
[![mvn](https://github.com/jcabi/jcabi-http/actions/workflows/mvn.yml/badge.svg)](https://github.com/jcabi/jcabi-http/actions/workflows/mvn.yml)
98
[![PDD status](http://www.0pdd.com/svg?name=jcabi/jcabi-http)](http://www.0pdd.com/p?name=jcabi/jcabi-http)
10-
[![Build status](https://ci.appveyor.com/api/projects/status/a87rxtuvvek647fs/branch/master?svg=true)](https://ci.appveyor.com/project/yegor256/jcabi-http/branch/master)
11-
[![codecov](https://codecov.io/gh/jcabi/jcabi-http/branch/master/graph/badge.svg?token=TWye97XBJ8)](https://codecov.io/gh/jcabi/jcabi-http)
12-
[![Javadoc](https://javadoc.io/badge/com.jcabi/jcabi-http.svg)](http://www.javadoc.io/doc/com.jcabi/jcabi-http)
9+
[![Maintainability](https://api.codeclimate.com/v1/badges/742bde48ea6fabdba1ce/maintainability)](https://codeclimate.com/github/jcabi/jcabi-http/maintainability)
10+
[![Maven Central](https://img.shields.io/maven-central/v/com.jcabi/jcabi-http.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-http)
11+
[![Javadoc](http://www.javadoc.io/badge/com.jcabi/jcabi-http.svg)](http://www.javadoc.io/doc/com.jcabi/jcabi-http)
1312

14-
[![jpeek report](https://i.jpeek.org/com.jcabi/jcabi-http/badge.svg)](https://i.jpeek.org/com.jcabi/jcabi-http/)
15-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-http/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-http)
13+
[![codecov](https://codecov.io/gh/jcabi/jcabi-http/branch/master/graph/badge.svg)](https://codecov.io/gh/jcabi/jcabi-http)
14+
[![Hits-of-Code](https://hitsofcode.com/github/jcabi/jcabi-http)](https://hitsofcode.com/view/github/jcabi/jcabi-http)
15+
![Lines of code](https://img.shields.io/tokei/lines/github/jcabi/jcabi-http)
16+
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/jcabi/jcabi-http/blob/master/LICENSE.txt)
1617

1718
More details are here: [http.jcabi.com](https://http.jcabi.com/index.html).
19+
1820
Also, read this blog post: [Fluent Java HTTP Client](http://www.yegor256.com/2014/04/11/jcabi-http-intro.html).
1921

2022
```java
@@ -35,11 +37,6 @@ public class Main {
3537
}
3638
```
3739

38-
## Questions?
39-
40-
If you have any questions about the framework, or something doesn't work as expected,
41-
please [submit an issue here](https://github.com/jcabi/jcabi-http/issues/new).
42-
4340
## How to contribute?
4441

4542
Fork the repository, make changes, submit a pull request.

0 commit comments

Comments
 (0)