-
Notifications
You must be signed in to change notification settings - Fork 552
49 lines (38 loc) · 1.14 KB
/
core-ganache-3.12.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
43
44
45
46
47
48
49
name: Core Ganache (py3.12)
on: ["push", "pull_request"]
# This limits the workflow to 1 active run at any given time for a specific branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WEB3_INFURA_PROJECT_ID: 21317ddb5ded42ce8d40c7d78f90474f
jobs:
py312core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Solidity Installations
uses: actions/cache@v2
with:
path: |
~/.solcx
~/.vvm
key: ${{ runner.os }}-compiler-cache
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install Ganache
run: npm install -g [email protected]
- name: Setup Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py312
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml