From 9548980f06eb1e1587fe0866d52217cd3a8717d8 Mon Sep 17 00:00:00 2001 From: George Ohashi Date: Wed, 6 Mar 2024 19:07:35 +0000 Subject: [PATCH] get coverage badge --- actions/coverage/action.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 actions/coverage/action.yaml diff --git a/actions/coverage/action.yaml b/actions/coverage/action.yaml new file mode 100644 index 0000000..090c7a9 --- /dev/null +++ b/actions/coverage/action.yaml @@ -0,0 +1,11 @@ +name: Run coverage and get badge +description: 'complete neuralmagic testmo run' +runs: + using: "composite" + steps: + - id: coverage-badge + run: | + echo "Obtaining test coverage ..." + # generate coverage badge and save in .mata folder + coverage-badge -f -o ./.meta/coverage_badge.svg + shell: bash \ No newline at end of file