Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/tbtc2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: tbtc2

on:
pull_request:
paths:
- 'tests/**/*.py'
- 'contracts/pools/tbtc2/**.vy'
push:
paths:
- 'tests/**/*.py'
- 'contracts/pools/tbtc2/**.vy'


env:
pool: 'tbtc2'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: --max_old_space_size=4096


jobs:

test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
target: [pools, zaps]
type: [unitary, integration]

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 wheel
pip install -r requirements.txt

- name: Run Tests
run: brownie test tests/${{ matrix.target }} --pool ${{ env.pool }} --${{ matrix.type }}
1 change: 1 addition & 0 deletions contracts/pools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Each subdirectory holds contracts and other files specific to a single Curve poo
* [`steth`](steth): [stETH pool](https://www.curve.fi/steth)
* [`susd`](susd): [sUSD pool](https://www.curve.fi/susdv2)
* [`tbtc`](tbtc): [tBTC metapool](https://www.curve.fi/tbtc)
* [`tbtc2`](tbtc2): [tBTC v2 metapool](https://www.curve.fi/tbtc2)
* [`usdk`](usdk): [USDK metapool](https://www.curve.fi/usdk)
* [`usdn`](usdn): [USDN metapool](https://www.curve.fi/usdn)
* [`usdt`](usdt): [USDT pool](https://www.curve.fi/usdt), with lending on [Compound](https://compound.finance/)
Expand Down
Loading