Skip to content

Commit a7f2cb9

Browse files
committed
chore: ci coverage report
1 parent ff9ffc8 commit a7f2cb9

File tree

7 files changed

+18
-6
lines changed

7 files changed

+18
-6
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
uses: actions/checkout@v2
1010

1111
- name: Setup Node
12-
uses: actions/setup-node@v1
12+
uses: actions/setup-node@v3
1313
with:
1414
node-version: 18
1515

@@ -34,7 +34,12 @@ jobs:
3434
CI: true
3535

3636
- name: Test
37-
run: npm run test --ci --coverage --maxWorkers=2
37+
run: npm run test
38+
env:
39+
CI: true
40+
41+
- name: Upload coverage to Codecov
42+
uses: codecov/codecov-action@v3
3843
env:
3944
CI: true
4045

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v1
11-
- uses: actions/setup-node@v1
11+
- uses: actions/setup-node@v3
1212
with:
1313
node-version: 18
1414
- run: npm install

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module.exports = {
22
testEnvironment: 'node',
33
preset: 'ts-jest',
4+
collectCoverage: true,
5+
coverageReporters: ['text', 'cobertura'],
46
roots: ['<rootDir>/src'],
57
};

src/client/lcd/api/AllianceAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface AllianceParams {
1111

1212
/**
1313
* Last application of `take_rate` on assets
14-
* @format date-time
14+
* @format date-time from golang
1515
*/
1616
last_take_rate_claim_time?: string;
1717
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export * from './Metadata';
2-
export * from './IdentifiedPacketFee'
2+
export * from './IdentifiedPacketFee';
33
export * from './PacketFee';
44
export * from './Fee';
55
export * from './msgs/MsgPayPacketFee';
66
export * from './msgs/MsgPayPacketFeeAsync';
7-
export * from './msgs/MsgRegisterCounterpartAddress';
7+
export * from './msgs/MsgRegisterCounterpartyPayee';

src/core/ibc/applications/fee/msgs/MsgRegisterCounterpartAddress.ts renamed to src/core/ibc/applications/fee/msgs/MsgRegisterCounterpartyPayee.ts

File renamed without changes.

src/core/wasm/msgs/tokenfactory/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import { MsgBurn } from './MsgBurn';
33
import { MsgChangeAdmin } from './MsgChangeAdmin';
44
import { MsgMint } from './MsgMint';
55

6+
export * from './MsgCreateDenom';
7+
export * from './MsgBurn';
8+
export * from './MsgChangeAdmin';
9+
export * from './MsgMint';
10+
611
export type WasmTokenFactory =
712
| MsgCreateDenom
813
| MsgBurn

0 commit comments

Comments
 (0)