-
Notifications
You must be signed in to change notification settings - Fork 10
41 lines (40 loc) · 1.26 KB
/
chainlink.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
41
name: Chainlink protocol tests
on:
pull_request:
paths:
- "cli/chainlink/**"
- "contracts/mock/MockChainlinkCoordinator.sol"
- "contracts/mock/MockLinkToken.sol"
- "contracts/mock/MockVRFUser.sol"
- ".github/workflows/chainlink.yml"
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install ganache
run: npm install -g ganache-cli
- name: Upgrade pip
env:
BROWNIE_LIB: 1
run: pip install -U pip
- name: Install additional dev dependencies
run: |
pip install black moonworm
- name: Install dependencies for CLI
working-directory: cli/
env:
BROWNIE_LIB: 1
run: |
pip install -e .
- name: Run tests
working-directory: cli/
run: bash test.sh chainlink.test_chainlink