Skip to content

Commit

Permalink
GitHub build with code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
cwkr committed Mar 17, 2024
1 parent e6243ab commit 22daa84
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: java-ci

on:
push:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- run: mvn --batch-mode --update-snapshots package jacoco:report
- uses: coverallsapp/github-action@v2
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# clamd4j
# clamd4j [![Coverage Status](https://coveralls.io/repos/github/cwkr/clamd4j/badge.svg?branch=main)](https://coveralls.io/github/cwkr/clamd4j?branch=main) [![Javadocs](https://www.javadoc.io/badge/de.cwkr/clamd4j.svg?color=blue)](https://www.javadoc.io/doc/de.cwkr/clamd4j)

ClamAV Daemon Client for Java

Expand All @@ -8,7 +8,7 @@ Add the following dependency to the `<dependencies>` section of your `pom.xml` f

```xml
<dependency>
<groupId>de.cwkr.clamd4j</groupId>
<groupId>de.cwkr</groupId>
<artifactId>clamd4j</artifactId>
<version>0.1.0</version>
</dependency>
Expand Down

0 comments on commit 22daa84

Please sign in to comment.