File tree Expand file tree Collapse file tree 2 files changed +17
-21
lines changed
Expand file tree Collapse file tree 2 files changed +17
-21
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,18 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v4
1414
15- - name : Set up Python
16- uses : actions/setup-python@v5
17- with :
18- python-version : " 3.10"
15+ - name : Setup Ape
16+ uses : ApeWorX/github-action@v3
1917
20- - name : Install dependencies
18+ - name : Build and Install Contract Dependencies
2119 run : |
22- python -m pip install --upgrade pip
23- pip install -e .[release]
24-
25- - name : Install plugins for build
26- run : ape plugins install .
20+ ape pm compile
21+ ape run build
2722
28- - name : Build and Install Contract Dependencies
29- run : ape pm compile && ape run build
23+ - name : Install Package
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install .[release]
3027
3128 - name : Build Python distribution
3229 run : python setup.py sdist bdist_wheel
Original file line number Diff line number Diff line change @@ -73,21 +73,20 @@ jobs:
7373 with :
7474 version : nightly
7575
76- - name : Setup Python
77- uses : actions/setup-python@v5
76+ - name : Setup Ape
77+ uses : ApeWorX/github-action@v3
7878 with :
7979 python-version : ${{ matrix.python-version }}
8080
81- - name : Install Dependencies
81+ - name : Build and Install Contract Dependencies
82+ run : |
83+ ape pm compile
84+ ape run build
85+
86+ - name : Install Package
8287 run : |
8388 python -m pip install --upgrade pip
8489 pip install .[test]
8590
86- - name : Install plugins
87- run : ape plugins install .
88-
89- - name : Build and Install Contract Dependencies
90- run : ape pm compile && ape run build
91-
9291 - name : Run Tests
9392 run : ape test -n 0 -s --cov
You can’t perform that action at this time.
0 commit comments