Skip to content

Commit

Permalink
[93] - Integrated Coveralls (#184)
Browse files Browse the repository at this point in the history
* feat: added coveralls

* fix: added coveralls badge
  • Loading branch information
Savio629 authored Sep 21, 2024
1 parent 2fc1105 commit 9132185
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Coveralls"

on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]

jobs:
test:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: npm install, make test-coverage
run: |
cd packages
cd common
npm install
npm test -- --coverage
- name: Report Coveralls
run: curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz && ./coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Stencil
[![Coverage Status](https://coveralls.io/repos/github/Savio629/stencil/badge.svg?branch=cov)](https://coveralls.io/github/Savio629/stencil?branch=cov)


Stencil is an opinionated backend framework based on [NestJS](https://nestjs.com), built keeping Developer Experience and Developer Productivity in mind.
Stencil aims to reduce the development setup times so that the developers writing backend services can spend more time writing business logic unique to the service rather than setting up common tooling which is shared across projects.
Expand Down

0 comments on commit 9132185

Please sign in to comment.