diff --git a/.github/workflows/coverage-pages.yml b/.github/workflows/coverage-pages.yml index ace409a..4460084 100644 --- a/.github/workflows/coverage-pages.yml +++ b/.github/workflows/coverage-pages.yml @@ -99,15 +99,14 @@ jobs: Last updated: $(date) EOF - # Disabled: Auto-committing badges causes push conflicts - # - name: Commit and push if coverage badge changed - # if: github.event_name == 'push' && github.ref == 'refs/heads/main' - # run: | - # git config --local user.email "github-actions[bot]@users.noreply.github.com" - # git config --local user.name "github-actions[bot]" - # git add .github/badges/coverage.svg -f - # git commit -m "chore: update coverage badge" || exit 0 - # git push + - name: Commit and push if coverage badge changed + if: github.event_name == 'push' && github.ref == 'refs/heads/main' + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add .github/badges/coverage.svg -f + git commit -m "chore: update coverage badge" || exit 0 + git push - name: Check GitHub Pages status run: | diff --git a/README.md b/README.md index a0f056a..ae203ad 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,10 @@ **Framework-agnostic multi-backend storage abstraction for ML and scientific computing** [![PyPI version](https://badge.fury.io/py/polystore.svg)](https://badge.fury.io/py/polystore) +[![Documentation Status](https://readthedocs.org/projects/polystore/badge/?version=latest)](https://polystore.readthedocs.io/en/latest/?badge=latest) [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) +[![Coverage](https://raw.githubusercontent.com/trissim/polystore/main/.github/badges/coverage.svg)](https://trissim.github.io/polystore/coverage/) ## Features