Skip to content

fix deploy contracts #18

fix deploy contracts

fix deploy contracts #18

name: deployment-tests-ape
on: ["push", "pull_request"]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WEB3_ALCHEMY_API_KEY: ${{ secrets.WEB3_ALCHEMY_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
jobs:
deployment-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: |
~/.vvm
key: compiler-cache
- name: Setup Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4
- name: Install Requirements
run: pip install -r requirements_ape.txt
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Hardcat
run: npm install --save-dev hardhat
- name: Run Deployment Tests
run: ape test --network ethereum:mainnet-fork:hardhat test_deployment