-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 862 Bytes
/
Copy pathtests.yaml
File metadata and controls
34 lines (28 loc) · 862 Bytes
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
name: Tests
env:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
POLYGON_MUMBAI_RPC_PROVIDER: ${{ secrets.POLYGON_MUMBAI_RPC_PROVIDER }}
POLYGON_MAINNET_RPC_PROVIDER: ${{ secrets.POLYGON_MAINNET_RPC_PROVIDER }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
COINMARKETCAP_API_KEY: ${{ secrets.COINMARKETCAP_API_KEY }}
DEPLOYER_WALLET_PRIVATE_KEY: ${{ secrets.DEPLOYER_WALLET_PRIVATE_KEY }}
on:
push:
branches:
- main
pull_request:
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Compile and run coverage
run: yarn coverage