Skip to content

Commit

Permalink
Add coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
orsiemilio committed Feb 15, 2024
1 parent 3771d81 commit 94bcd6a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# .github/workflows/test.yml
name: Test
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install
run: npm install
- name: Test and Coverage
run: npm run test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: orsiemilio/JsonShapeShifter
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# JsonShapeShifter

[![codecov](https://codecov.io/gh/orsiemilio/JsonShapeShifter/graph/badge.svg?token=SMTK5VI1E2)](https://codecov.io/gh/orsiemilio/JsonShapeShifter)

JsonShapeShifter is a handy tool made to change JSON objects into different shapes using specific rules and functions you set. It's super useful for a bunch of tasks, like fixing up data to send over the web, organizing information, or even getting data ready to be turned into XML for special web services, where keeping things in the right order is super important.

A while back, I faced issues with the structure of JSON data from MongoDB. To solve this, especially since I had to work with SOAP-based services where XML demands precise ordering of values, I developed a solution similar to this.
Expand Down

0 comments on commit 94bcd6a

Please sign in to comment.