From 19b5b023c11744e229e888a3a841d3330c769d3d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 2 Nov 2025 19:41:39 +0000 Subject: [PATCH 1/2] Initial plan From 426b3e0040f5bea73a404cbc397a8596cd74ef67 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 2 Nov 2025 19:46:24 +0000 Subject: [PATCH 2/2] Add CodeCov and RTD badges to README, enable badge commit in workflow Co-authored-by: trissim <56880052+trissim@users.noreply.github.com> --- .github/workflows/coverage-pages.yml | 17 ++++++++--------- README.md | 2 ++ 2 files changed, 10 insertions(+), 9 deletions(-) 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