Connectors: Implement Odos connector #182
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: Connectors CI | |
env: | |
CI: true | |
on: | |
push: | |
branches: "*" | |
paths: | |
- packages/connectors/** | |
pull_request: | |
branches: "*" | |
paths: | |
- packages/connectors/** | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: yarn workspace @mimic-fi/v3-connectors lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn workspace @mimic-fi/v3-connectors test | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Set up hardhat config | |
run: .github/scripts/setup-hardhat-config.sh ${{secrets.MAINNET_RPC}} ${{secrets.POLYGON_RPC}} ${{secrets.OPTIMISM_RPC}} ${{secrets.ARBITRUM_RPC}} ${{secrets.GNOSIS_RPC}} ${{secrets.AVALANCHE_RPC}} ${{secrets.BSC_RPC}} ${{secrets.FANTOM_RPC}} ${{secrets.ZKEVM_RPC}} ${{secrets.BASE_RPC}} | |
- name: Build | |
run: yarn build | |
- name: Test mainnet | |
run: yarn workspace @mimic-fi/v3-connectors test:mainnet | |
- name: Test polygon | |
run: yarn workspace @mimic-fi/v3-connectors test:polygon | |
- name: Test optimism | |
run: yarn workspace @mimic-fi/v3-connectors test:optimism | |
- name: Test arbitrum | |
run: yarn workspace @mimic-fi/v3-connectors test:arbitrum | |
- name: Test gnosis | |
run: yarn workspace @mimic-fi/v3-connectors test:gnosis | |
- name: Test avalanche | |
run: yarn workspace @mimic-fi/v3-connectors test:avalanche | |
- name: Test bsc | |
run: yarn workspace @mimic-fi/v3-connectors test:bsc | |
- name: Test fantom | |
run: yarn workspace @mimic-fi/v3-connectors test:fantom | |
- name: Test zkevm | |
run: yarn workspace @mimic-fi/v3-connectors test:zkevm | |
- name: Test base | |
run: yarn workspace @mimic-fi/v3-connectors test:base |