-
Notifications
You must be signed in to change notification settings - Fork 14
35 lines (31 loc) · 944 Bytes
/
test.yaml
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
on:
workflow_dispatch:
push:
branches:
- master
- develop
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: ApeWorX/github-action@v2
with:
python-version: '3.10'
ape-version-pin: "==0.6.8"
ape-plugins-list: 'solidity==0.6.3 vyper==0.6.5 hardhat==0.6.4 infura==0.6.1 etherscan==0.6.4'
- name: install vyper
run: pip install git+https://github.com/vyperlang/vyper
- run: ape compile --force --size
- run: npm install hardhat
- run: ape test
timeout-minutes: 10
env:
WEB3_ALCHEMY_PROJECT_ID: ${{ secrets.WEB3_ALCHEMY_PROJECT_ID }}
WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}