Skip to content

Commit

Permalink
fix: test workflow (#208)
Browse files Browse the repository at this point in the history
* fix: config override

* chore: manual setup

* fix: requirements

* fix: ape version

* chore: rebase
  • Loading branch information
Schlagonia authored Sep 11, 2024
1 parent efcca26 commit 5bd1034
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: ApeWorX/[email protected]
with:
python-version: '3.10'

- name: install vyper
run: pip install git+https://github.com/vyperlang/vyper
- name: install requirements
run: python3 -m pip install -r requirements.txt

- name: install plugins
run: ape plugins install .

- name: Compile contracts
# TODO: Force recompiles until ape compile caching is fixed
run: ape compile --force --size
Expand Down
6 changes: 2 additions & 4 deletions ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ dependencies:
- name: tokenized-strategy
github: yearn/tokenized-strategy
ref: v3.0.2
contracts_folder: src
config_override:
contracts_folder: src

solidity:
version: 0.8.18
import_remapping:
- "@openzeppelin/contracts=openzeppelin/v4.9.5"
- "@tokenized-strategy=tokenized-strategy/v3.0.2"

ethereum:
local:
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
black==22.3.0
eth-ape>=0.8.0
vyper==0.3.7
eth-ape==0.8.10
vyper==0.3.7
eth-typing==3.5.2

0 comments on commit 5bd1034

Please sign in to comment.