From 224ad6ef940c0e9507c617540052a5a0f350631e Mon Sep 17 00:00:00 2001 From: Idan Sheinberg Date: Fri, 24 Nov 2023 17:44:35 +0200 Subject: [PATCH] README update Added tests execution to main branch CI --- .github/workflows/multi-platform-ci.yml | 2 +- .github/workflows/ossrh-publication.yml | 5 +++++ README.md | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/multi-platform-ci.yml b/.github/workflows/multi-platform-ci.yml index 627b4e4..8932477 100644 --- a/.github/workflows/multi-platform-ci.yml +++ b/.github/workflows/multi-platform-ci.yml @@ -26,7 +26,7 @@ jobs: java-version: 8 distribution: "zulu" - - name: Run Tests + - name: Run Tests and upload coverage run: ./gradlew clean build check test coveralls env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/.github/workflows/ossrh-publication.yml b/.github/workflows/ossrh-publication.yml index 888b9fe..b69f84d 100644 --- a/.github/workflows/ossrh-publication.yml +++ b/.github/workflows/ossrh-publication.yml @@ -19,6 +19,11 @@ jobs: java-version: 8 distribution: "zulu" + - name: Run Tests and upload coverage + run: ./gradlew clean build check test coveralls + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - name: Publish To Release Repository run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository env: diff --git a/README.md b/README.md index 98de604..76b2cec 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # jna-aac-encoder [![GitHub](https://img.shields.io/github/license/sheinbergon/jna-aac-encoder?color=pink&style=for-the-badge)](https://github.com/sheinbergon/jna-aac-encoder/blob/master/LICENSE) -[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sheinbergon/jna-aac-encoder/Multi%20Platform%20CI?style=for-the-badge)](https://github.com/sheinbergon/jna-aac-encoder/actions?query=workflow%3A"Multi+Platform+CI") +[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/sheinbergon/jna-aac-encoder/ossrh-publication.yml?style=for-the-badge&branch=main)](https://github.com/sheinbergon/jna-aac-encoder/actions?query=workflow%3A"Multi+Platform+CI") [![GitHub release (latest by date)](https://img.shields.io/github/v/release/sheinbergon/jna-aac-encoder?color=%2340E0D0&style=for-the-badge)](https://github.com/sheinbergon/jna-aac-encoder/releases/latest) [![Maven Central](https://img.shields.io/maven-central/v/org.sheinbergon/jna-aac-encoder?color=Crimson&style=for-the-badge)](https://search.maven.org/search?q=g:org.sheinbergon%20a:jna-aac-encoder*) [![Coveralls](https://img.shields.io/coveralls/github/sheinbergon/jna-aac-encoder?style=for-the-badge&logo=coveralls)](https://coveralls.io/github/sheinbergon/jna-aac-encoder) -[![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/sheinbergon/jna-aac-encoder?color=432f95&logo=snyk&style=for-the-badge)](https://app.snyk.io/org/sheinbergon/project/e56757ea-c9f2-45a1-8544-5083d087faf8) [![Codacy grade](https://img.shields.io/codacy/grade/8f822d4bfbfa48809d439d4e8e92d287?style=for-the-badge&logo=codacy)](https://app.codacy.com/manual/sheinbergon/jna-aac-encoder) [![Liberapay](https://img.shields.io/liberapay/patrons/sheinbergon?logo=liberapay&style=for-the-badge)](https://liberapay.com/sheinbergon/donate)