fix: coverage

This commit is contained in:
Stijnvandenbroek
2026-03-11 12:54:13 +00:00
parent adc4d3bea9
commit ea166e4097
2 changed files with 8 additions and 6 deletions

View File

@@ -90,10 +90,12 @@ jobs:
source: coverage.json
output: coverage-badge.svg
- name: Upload coverage badge to Gist
- name: Deploy coverage badge
if: github.ref == 'refs/heads/main'
uses: exuanbo/actions-deploy-gist@v1
uses: peaceiris/actions-gh-pages@v4
with:
token: ${{ secrets.GIST_TOKEN }}
gist_id: ${{ vars.COVERAGE_GIST_ID }}
file_path: coverage-badge.svg
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
publish_branch: coverage-badge
keep_files: false
include_files: coverage-badge.svg

View File

@@ -1,7 +1,7 @@
# data-platform
[![CI](https://github.com/Stijnvandenbroek/data-platform/actions/workflows/ci.yml/badge.svg)](https://github.com/Stijnvandenbroek/data-platform/actions/workflows/ci.yml)
![Coverage](https://gist.githubusercontent.com/Stijnvandenbroek/COVERAGE_GIST_ID/raw/coverage-badge.svg)
![Coverage](https://raw.githubusercontent.com/Stijnvandenbroek/data-platform/coverage-badge/coverage-badge.svg)
![Python 3.12](https://img.shields.io/badge/python-3.12-blue)
![dbt](https://img.shields.io/badge/dbt-core-orange)
![Dagster](https://img.shields.io/badge/dagster-orchestration-4F43DD)