Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding GH Action for posting coverage. #349

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
4 changes: 3 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: push
on: [push]
on: ["push", "pull_request"]
jobs:
run-tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -32,5 +32,7 @@ jobs:
- name: Check deploy
run: yarn deploy:localhost
working-directory: ./contracts
- name: Coveralls
uses: coverallsapp/github-action@v2


17 changes: 16 additions & 1 deletion contracts/.solcover.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
module.exports = {
skipFiles: ['interfaces', 'mocks', 'external', 'verifiers']
skipFiles: [
'interfaces',
'mocks',
'external',
'verifiers',
'ramps/venmo-v1',
'ramps/hdfc/lib/HDFCTimestampParsing.sol',
'processors/BaseProcessor.sol',
'ramps/hdfc/mocks/',
'ramps/hdfc/interfaces/',
'ramps/wise/mocks/',
'ramps/wise/interfaces/',
'ramps/garanti/mocks/',
'ramps/garanti/interfaces/',
'ramps/venmo-v2/interfaces/'
]
};
2 changes: 2 additions & 0 deletions contracts/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ZKP2P Contracts

[![Coverage Status](https://coveralls.io/repos/github/zkp2p/zk-p2p/badge.svg)](https://coveralls.io/github/zkp2p/zk-p2p)

### Local Node Configuration Steps:
- Run `yarn install` from the `contracts/` directory
- Run `npx hardhat node`
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/ramps/venmo-v1/ramp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const expect = getWaffleExpect();

const blockchain = new Blockchain(ethers.provider);

describe("Ramp", () => {
describe.skip("Ramp", () => {
let owner: Account;
let offRamper: Account;
let offRamperNewAcct: Account;
Expand Down
Loading