From 79267da2d2f66053e1ed6335cbd90ce23c00be60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johann=20Kl=C3=A4hn?= Date: Mon, 28 Oct 2024 17:59:29 +0100 Subject: [PATCH] Add badges to README --- .github/workflows/{fedora.yml => build.yml} | 4 ++-- README.md | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) rename .github/workflows/{fedora.yml => build.yml} (96%) diff --git a/.github/workflows/fedora.yml b/.github/workflows/build.yml similarity index 96% rename from .github/workflows/fedora.yml rename to .github/workflows/build.yml index 7c1ad73..10ed9cd 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: MIT -name: Fedora +name: Build + Tests on: push: {branches: [main]} pull_request: {branches: [main]} @@ -23,7 +23,7 @@ env: python3-pip jobs: - fedora: + build-and-test: runs-on: ubuntu-latest container: fedora:latest diff --git a/README.md b/README.md index 4afa63e..39449e6 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ SPDX-License-Identifier: MIT # genpybind +[![PyPI](https://img.shields.io/pypi/v/genpybind.svg)](https://pypi.org/project/genpybind/) +[![Releases](https://img.shields.io/github/v/release/kljohann/genpybind?include_prereleases&label=latest%20release)](https://github.com/kljohann/genpybind/releases) +[![Build + Tests](https://github.com/kljohann/genpybind/actions/workflows/build.yml/badge.svg)](https://github.com/kljohann/genpybind/actions/workflows/build.yml) +[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kljohann/genpybind/blob/main/LICENSES/MIT.txt) + *Autogeneration of Python bindings from manually annotated C++ headers* Genpybind is a tool based on [clang][] that automatically generates code to