Skip to content

Commit 128f552

Browse files
committed
Check coverage workflows
1 parent 682a900 commit 128f552

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/python-install-and-test-on-linux-always.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,27 @@ jobs:
2929
coverage run -m pytest -v -s
3030
- name: Generate Coverage Report
3131
run: |
32-
coverage report -m
32+
coverage report -m
33+
- name: Coverage Badge
34+
uses: tj-actions/coverage-badge-py@1788babcb24544eb5bbb6e0d374df5d1e54e670f # v2
35+
36+
- name: Verify Changed files
37+
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20
38+
id: verify-changed-files
39+
with:
40+
files: coverage.svg
41+
42+
- name: Commit files
43+
if: steps.verify-changed-files.outputs.files_changed == 'true'
44+
run: |
45+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
46+
git config --local user.name "github-actions[bot]"
47+
git add coverage.svg
48+
git commit -m "Updated coverage.svg"
49+
50+
- name: Push changes
51+
if: steps.verify-changed-files.outputs.files_changed == 'true'
52+
uses: ad-m/github-push-action@master
53+
with:
54+
github_token: ${{ secrets.github_token }}
55+
branch: ${{ github.ref }}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
![status](https://joss.theoj.org/papers/3f87f562264c4e5174d9e6ed6d8812aa/status.svg) ![License](https://img.shields.io/github/license/szymon-datalions/pyinterpolate) ![Documentation Status](https://readthedocs.org/projects/pyinterpolate/badge/?version=latest) [![CodeFactor](https://www.codefactor.io/repository/github/dataverselabs/pyinterpolate/badge)](https://www.codefactor.io/repository/github/dataverselabs/pyinterpolate)
22

3+
[![CodeQL](https://github.com/DataverseLabs/pyinterpolate/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/DataverseLabs/pyinterpolate/actions/workflows/github-code-scanning/codeql)
4+
5+
[![Run Unit Test via Pytest](https://github.com/DataverseLabs/pyinterpolate/actions/workflows/python-install-and-test-on-linux-always.yml/badge.svg)](https://github.com/DataverseLabs/pyinterpolate/actions/workflows/python-install-and-test-on-linux-always.yml)
6+
7+
8+
39
# Pyinterpolate
410

511
**version 1.0.3**

0 commit comments

Comments
 (0)