-
Notifications
You must be signed in to change notification settings - Fork 38
36 lines (34 loc) · 1.19 KB
/
run-ci-polygon.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
name: Compile & Run Smart Contract Unit Tests
on: [pull_request]
jobs:
test:
name: Build Project - Polygon
runs-on: ubuntu-latest
environment: testing-keys
env:
MNEMONIC_KEY: ${{ secrets.MNEMONIC_KEY }}
ALCHEMY_MAINNET_KEY: ${{ secrets.ALCHEMY_MAINNET_KEY }}
ALCHEMY_RINKEBY_KEY: ${{ secrets.ALCHEMY_RINKEBY_KEY }}
ALCHEMY_ROPSTEN_KEY: ${{ secrets.ALCHEMY_ROPSTEN_KEY }}
ALCHEMY_KOVAN_KEY: ${{ secrets.ALCHEMY_KOVAN_KEY }}
MATIC_MAINNET_KEY: ${{ secrets.MATIC_MAINNET_KEY }}
MATIC_MUMBAI_KEY: ${{ secrets.MATIC_MUMBAI_KEY }}
INFURA_KEY: ${{ secrets.INFURA_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
CMC_KEY: ${{ secrets.CMC_KEY }}
GAS_PRICE_GWEI_KEY: 20
GAS_WEI_KEY: 2500000
ADDRESS_COUNT_KEY: 20
DEFAULT_ADDRESS_INDEX_KEY: 0
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org/'
- name: Install dependencies - Polygon
run: |
yarn --network-concurrency 1
- name: Compiling and Executing Tests - Polygon
run: |
yarn test polygon