Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxy-v authored Aug 31, 2024
1 parent b096e24 commit 9752277
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,15 @@ jobs:
xml-out: coverage.xml

- name: Check coverage report
run: cat coverage.xml
id: check-coverage
uses: actions/github-script@v7
with:
script: |
var xml2js = require('xml2js');
fs = require('fs');
let parser = require('xml2json');
fs.readFile( 'coverage.xml', function(err, data) {
var json = parser.toJson(data);
console.log("to json ->", json);
});

0 comments on commit 9752277

Please sign in to comment.