From e879dce46efe7e6950efa2d0e4c75c54b85d748d Mon Sep 17 00:00:00 2001 From: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:49:38 +0000 Subject: [PATCH 1/4] Introduced Github Status Badge for Unit Tests --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 025a135774f..69392927e5b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml) + ## Getting started This repository contains FreeRTOS kernel source/header files and kernel ports only. This repository is referenced as a submodule in [FreeRTOS/FreeRTOS](https://github.com/FreeRTOS/FreeRTOS) repository, which contains pre-configured demo application projects under ```FreeRTOS/Demo``` directory. From 7faa0ad6dbadaa19f0859dea121f5836c7dedc45 Mon Sep 17 00:00:00 2001 From: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:53:29 +0000 Subject: [PATCH 2/4] Github status badge to point to latest run --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69392927e5b..7c15b50da90 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml) +[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/runs/${{ github.run_id }}) ## Getting started This repository contains FreeRTOS kernel source/header files and kernel ports only. This repository is referenced as a submodule in [FreeRTOS/FreeRTOS](https://github.com/FreeRTOS/FreeRTOS) repository, which contains pre-configured demo application projects under ```FreeRTOS/Demo``` directory. From 7ae19ccd8a89155402f68c211f92cadac9bcb0e1 Mon Sep 17 00:00:00 2001 From: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:57:26 +0000 Subject: [PATCH 3/4] Github status badge UT points to latest results --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c15b50da90..dd9813dc7e4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/runs/${{ github.run_id }}) +[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/?query=workflow%3Atest) ## Getting started This repository contains FreeRTOS kernel source/header files and kernel ports only. This repository is referenced as a submodule in [FreeRTOS/FreeRTOS](https://github.com/FreeRTOS/FreeRTOS) repository, which contains pre-configured demo application projects under ```FreeRTOS/Demo``` directory. From 3ccc92c587efd9fcffd3532a9d56118f8f7902f8 Mon Sep 17 00:00:00 2001 From: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com> Date: Mon, 27 Feb 2023 15:07:22 +0000 Subject: [PATCH 4/4] Fixed URL for Github Status badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd9813dc7e4..90c3c698d15 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/?query=workflow%3Atest) +[![CMock Unit Tests](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml/badge.svg?branch=main&event=push)](https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/workflows/unit-tests.yml?query=branch%3Amain+event%3Apush+workflow%3A%22CMock+Unit+Tests%22++) ## Getting started This repository contains FreeRTOS kernel source/header files and kernel ports only. This repository is referenced as a submodule in [FreeRTOS/FreeRTOS](https://github.com/FreeRTOS/FreeRTOS) repository, which contains pre-configured demo application projects under ```FreeRTOS/Demo``` directory.