From bfab9e02993ebce290a144a8b699d84e81086190 Mon Sep 17 00:00:00 2001 From: Tieqiong Zhang Date: Mon, 19 Aug 2024 15:01:08 -0400 Subject: [PATCH 1/3] CI badge --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 5dd3a227..7fb0a48f 100644 --- a/README.rst +++ b/README.rst @@ -15,8 +15,8 @@ .. |Black| image:: https://img.shields.io/badge/code_style-black-black :target: https://github.com/psf/black -.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml/badge.svg - :target: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml +.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/test.yml/badge.svg + :target: https://github.com/diffpy/diffpy.structure/actions/workflows/test.yml .. |Codecov| image:: https://codecov.io/gh/diffpy/diffpy.structure/branch/main/graph/badge.svg :target: https://codecov.io/gh/diffpy/diffpy.structure From 07ef5ddb323df64e22c439b32a94afc0acad3571 Mon Sep 17 00:00:00 2001 From: Tieqiong Zhang Date: Mon, 19 Aug 2024 23:34:00 -0400 Subject: [PATCH 2/3] Rename test workflow for better badge display --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9cd4de0a..33ece6cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Validate using pytest +name: Test on: push: From 61fda2450bedbc9804a073ab61ec9288aad34706 Mon Sep 17 00:00:00 2001 From: Tieqiong Zhang Date: Tue, 20 Aug 2024 11:04:18 -0400 Subject: [PATCH 3/3] Use the lates workflow file name --- .github/workflows/{test.yml => main.yml} | 0 README.rst | 4 ++-- doc/source/index.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{test.yml => main.yml} (100%) diff --git a/.github/workflows/test.yml b/.github/workflows/main.yml similarity index 100% rename from .github/workflows/test.yml rename to .github/workflows/main.yml diff --git a/README.rst b/README.rst index 7fb0a48f..5dd3a227 100644 --- a/README.rst +++ b/README.rst @@ -15,8 +15,8 @@ .. |Black| image:: https://img.shields.io/badge/code_style-black-black :target: https://github.com/psf/black -.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/test.yml/badge.svg - :target: https://github.com/diffpy/diffpy.structure/actions/workflows/test.yml +.. |CI| image:: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml/badge.svg + :target: https://github.com/diffpy/diffpy.structure/actions/workflows/main.yml .. |Codecov| image:: https://codecov.io/gh/diffpy/diffpy.structure/branch/main/graph/badge.svg :target: https://codecov.io/gh/diffpy/diffpy.structure diff --git a/doc/source/index.rst b/doc/source/index.rst index 457e4105..4fabbaa1 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -4,7 +4,7 @@ .. |title| replace:: diffpy.structure documentation -diffpy.structure - Crystal structure container and parsers for structure formats.. +diffpy.structure - Crystal structure container and parsers for structure formats. | Software version |release|. | Last updated |today|.