Update era node and eth_account #220
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit-tests-boa | |
on: [push] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
boa-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.txt | |
- name: Install Zksync dependencies | |
run: | | |
echo "Installing zkvyper and era_test_node" | |
# Install zkvyper and era_test_node from binary repositories | |
curl --location https://raw.githubusercontent.com/matter-labs/zkvyper-bin/66cc159d9b6af3b5616f6ed7199bd817bf42bf0a/linux-amd64/zkvyper-linux-amd64-musl-v1.4.0 \ | |
--silent --output /usr/local/bin/zkvyper && \ | |
chmod +x /usr/local/bin/zkvyper && \ | |
zkvyper --version | |
curl --location https://github.com/matter-labs/era-test-node/releases/download/v0.1.0-alpha.22/era_test_node-v0.1.0-alpha.22-x86_64-unknown-linux-gnu.tar.gz \ | |
--silent --output era_test_node.tar.gz && \ | |
tar --extract --file=era_test_node.tar.gz && \ | |
mv era_test_node /usr/local/bin/era_test_node && \ | |
era_test_node --version && \ | |
rm era_test_node.tar.gz | |
- name: Run Tests | |
run: python -m pytest tests/unitary -n auto |