diff --git a/.github/workflows/coverage-check.yml b/.github/workflows/coverage-check.yml index 24cee9401..4884dc47f 100644 --- a/.github/workflows/coverage-check.yml +++ b/.github/workflows/coverage-check.yml @@ -2,6 +2,8 @@ name: Compare Test Coverage # This compares test coverage and throws an error if test coverage is lower than the previous run. on: + push: + branches: [development] pull_request: branches: [development] @@ -118,3 +120,8 @@ jobs: run: | echo "Error: test coverage decreased" exit 1 + + - name: Upload test coverage report to coveralls.io + uses: coverallsapp/github-action@v2 + with: + file: packages/contracts/filtered-lcov.info diff --git a/README.md b/README.md index cd43a3dcc..42fb4abd7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Build & Test](https://github.com/ubiquity/ubiquity-dollar/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/ubiquity/ubiquity-dollar/actions/workflows/build-and-test.yml) -[![Coverage Status](https://coveralls.io/repos/github/ubiquity/ubiquity-dollar/badge.svg?branch=development)](https://coveralls.io/github/ubiquity/ubiquity-dollar?branch=development) +[![Coverage Status](https://coveralls.io/repos/github/ubiquity/ubiquity-dollar/badge.svg?branch=development&service=github)](https://coveralls.io/github/ubiquity/ubiquity-dollar?branch=development) # Ubiquity Dollar Introducing the flagship product of [Ubiquity DAO](https://ubq.fi/). The Ubiquity Dollar (uAD) is a collateralized stablecoin. - The deployed smart contracts can be found in the [docs](https://dao.ubq.fi/smart-contracts).