fix(aaveV3): adapt to pool data provider upgrade #200
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: Test Suite | |
on: | |
pull_request: | |
paths: | |
- src/** | |
- tests/** | |
- package.json | |
- yarn.lock | |
workflow_call: | |
secrets: | |
RPC_URL: | |
required: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run linting | |
run: yarn lint | |
test-units: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run units test suite | |
run: yarn test | |
env: | |
RPC_URL: ${{ secrets.RPC_URL }} | |
test-e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run e2e test suite | |
run: yarn test:e2e | |
env: | |
RPC_URL: ${{ secrets.RPC_URL }} |