Update CryptoPool Proxy #1135
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
on: [push, pull_request] | |
name: main workflow | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_OPTIONS: --max_old_space_size=4096 | |
jobs: | |
unitary: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Compiler Installations | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.solcx | |
~/.vvm | |
key: compiler-cache | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
- name: Install Ganache | |
run: npm install | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Requirements | |
run: pip install -r requirements.txt | |
- name: Run Tests | |
run: brownie test tests/unitary -C -n auto | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Compiler Installations | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.solcx | |
~/.vvm | |
key: compiler-cache | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
- name: Install Ganache | |
run: npm install | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Requirements | |
run: pip install -r requirements.txt | |
- name: Run Tests | |
run: brownie test tests/integration -n auto --failfast --durations 5 --stateful false | |
integration-stateful: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Compiler Installations | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.solcx | |
~/.vvm | |
key: compiler-cache | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
- name: Install Ganache | |
run: npm install | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Requirements | |
run: pip install -r requirements.txt | |
- name: Run Tests | |
run: brownie test tests/integration -n auto --failfast --durations 5 --stateful true |