fix: coverage badge publishing
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -88,14 +88,13 @@ jobs:
|
|||||||
uses: jaywcjlove/coverage-badges-cli@v2.1.0
|
uses: jaywcjlove/coverage-badges-cli@v2.1.0
|
||||||
with:
|
with:
|
||||||
source: coverage.json
|
source: coverage.json
|
||||||
output: coverage-badge.svg
|
output: badge/coverage-badge.svg
|
||||||
|
|
||||||
- name: Deploy coverage badge
|
- name: Deploy coverage badge
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
uses: peaceiris/actions-gh-pages@v4
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./
|
publish_dir: ./badge
|
||||||
publish_branch: coverage-badge
|
publish_branch: coverage-badge
|
||||||
keep_files: false
|
keep_files: false
|
||||||
include_files: coverage-badge.svg
|
|
||||||
|
|||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -23,5 +23,9 @@ dagster_home/compute_logs/
|
|||||||
# Node
|
# Node
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
|
# Coverage
|
||||||
|
.coverage
|
||||||
|
coverage.json
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
*.log
|
*.log
|
||||||
|
|||||||
Reference in New Issue
Block a user