From 47b5200cbe6fbff128867fad2ee03ce8dda10232 Mon Sep 17 00:00:00 2001 From: OmarSamirz Date: Tue, 10 Sep 2024 23:29:23 +0300 Subject: [PATCH] Add coverage badge to Documentation and README --- .github/workflows/coverage.yml | 4 ++-- README.md | 1 + docs/index.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e76b7c31..d5b98316 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -28,8 +28,8 @@ jobs: pytest --cov=tests - name: Upload coverage to Coveralls - uses: coverallsapp/github-action@v2 # Correct way to call the Coveralls GitHub Action + uses: coverallsapp/github-action@v2 with: - github-token: ${{ secrets.GITHUB_TOKEN }} # GitHub Actions token + github-token: ${{ secrets.GITHUB_TOKEN }} env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} diff --git a/README.md b/README.md index 06c6e959..674685ca 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ ![PyPI - Version](https://img.shields.io/pypi/v/iftg) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/OmarSamirz/ImageFromTextGenerator/.%2F.github%2Fworkflows%2Ftest.yml) +[![Coverage Status](https://coveralls.io/repos/github/OmarSamirz/ImageFromTextGenerator/badge.svg?branch=main)](https://coveralls.io/github/OmarSamirz/ImageFromTextGenerator?branch=main) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator?ref=badge_shield&issueType=license) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator.svg?type=shield&issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator?ref=badge_shield&issueType=security) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/iftg) diff --git a/docs/index.md b/docs/index.md index 477fe82d..632773c4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,6 +5,7 @@ ![PyPI - Version](https://img.shields.io/pypi/v/iftg) ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/OmarSamirz/ImageFromTextGenerator/.%2F.github%2Fworkflows%2Ftest.yml) +[![Coverage Status](https://coveralls.io/repos/github/OmarSamirz/ImageFromTextGenerator/badge.svg?branch=main)](https://coveralls.io/github/OmarSamirz/ImageFromTextGenerator?branch=main) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator?ref=badge_shield&issueType=license) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator.svg?type=shield&issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FOmarSamirz%2FImageFromTextGenerator?ref=badge_shield&issueType=security) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/iftg)