From d947703cbacd78c8f9bdab7c97b2bb131758c795 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Sat, 24 Dec 2022 14:51:12 -0800 Subject: [PATCH] add logos to readme badges for pypi/conda download stats --- .github/workflows/test.yml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4a07368418..e71928a7ebb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,7 +98,7 @@ jobs: release: needs: pytest - if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' && github.event.inputs.task == 'release' + if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.task == 'release') strategy: matrix: os: [macos-latest, windows-latest] diff --git a/README.md b/README.md index 49f8341d8d0..f537ed00d15 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![CI Status](https://github.com/materialsproject/pymatgen/actions/workflows/test.yml/badge.svg)](https://github.com/materialsproject/pymatgen/actions/workflows/test.yml) -[![PyPI Downloads](https://img.shields.io/pypi/dm/pymatgen?style=flat&color=blue&label=PyPI%20Downloads)](https://pypi.org/project/pymatgen) -[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pymatgen?style=flat&color=blue&label=Conda%20Downloads)](https://anaconda.org/conda-forge/pymatgen) -[![Coveralls](https://img.shields.io/coveralls/github/materialsproject/pymatgen?style=flat&label=Coverage)](https://coveralls.io/github/materialsproject/pymatgen?branch=master) +[![PyPI Downloads](https://img.shields.io/pypi/dm/pymatgen?logo=pypi&logoColor=white&color=blue&label=PyPI%20Downloads)](https://pypi.org/project/pymatgen) +[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pymatgen?logo=condaforge&color=blue&label=Conda%20Downloads)](https://anaconda.org/conda-forge/pymatgen) +[![Coveralls](https://img.shields.io/coveralls/github/materialsproject/pymatgen?logo=coveralls&label=Coverage)](https://coveralls.io/github/materialsproject/pymatgen?branch=master) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/materialsproject/pymatgen/master.svg)](https://results.pre-commit.ci/latest/github/materialsproject/pymatgen/master) Pymatgen (Python Materials Genomics) is a robust, open-source Python