-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (39 loc) · 1.36 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
on:
push:
branches:
- main
- develop
pull_request:
name: jet-contracts
jobs:
tests:
name: Unit Testing
runs-on: [self-hosted, light]
env:
INFURA_KEY: ${{secrets.INFURA_KEY}}
ETHERSCAN_API_KEY: ${{secrets.ETHERSCAN_API_KEY}}
PRIVATE_KEY: ${{secrets.PRIVATE_KEY}}
MNEMONIC: ${{secrets.MNEMONIC}}
AURORA_API_KEY: ${{secrets.AURORA_API_KEY}}
AURORA_TOKEN: ${{secrets.AURORA_TOKEN}}
FLAGS: ${{secrets.FLAGS}}
SCHEDULE_PERIOD: ${{secrets.SCHEDULE_PERIOD}}
TAU_PER_STREAM: ${{secrets.TAU_PER_STREAM}}
MIN_WEIGHT: ${{secrets.MIN_WEIGHT}}
MAX_WEIGHT: ${{secrets.MAX_WEIGHT}}
AURORA_STREAM_OWNER: ${{secrets.AURORA_STREAM_OWNER}}
SCHEDULE_START_TIME: ${{secrets.SCHEDULE_START_TIME}}
DEFAULT_ADMIN_ROLE_ADDRESS: ${{secrets.DEFAULT_ADMIN_ROLE_ADDRESS}}
PAUSER_ROLE_ADDRESS: ${{secrets.PAUSER_ROLE_ADDRESS}}
AIRDROP_ROLE_ADDRESS: ${{secrets.AIRDROP_ROLE_ADDRESS}}
TREASURY_MANAGER_ROLE_ADDRESS: ${{secrets.TREASURY_MANAGER_ROLE_ADDRESS}}
STREAM_MANAGER_ROLE_ADDRESS: ${{secrets.STREAM_MANAGER_ROLE_ADDRESS}}
CLAIM_ROLE_ADDRESS: ${{secrets.CLAIM_ROLE_ADDRESS}}
steps:
- name: Clone the repository
uses: actions/checkout@v2
- run: yarn install --force
- run: yarn lint
- run: yarn compile
- run: yarn coverage