-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (32 loc) · 905 Bytes
/
main.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
35
36
37
38
39
40
41
42
name: unitary
on: ["push", "pull_request"]
env:
ETHERSCAN_TOKEN: ${{ secrets.ETHERSKEM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WEB3_INFURA_PROJECT_ID: ${{ secrets.INFURA_TOKEN }}
WEB3_ALCHEMY_PROJECT_ID: ${{secrets.ALCHEMY_API_KEY}}
jobs:
unitary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Compiler Installations
uses: actions/cache@v3
with:
path: |
~/.vvm
key: compiler-cache
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Hardhat
run: npm ci
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10.13
- name: Install Requirements
run: pip install -r requirements.txt
- name: Run Tests
run: ape test