feat: add new perp markets #1784
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
ci-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup SSH | |
env: | |
LYRA_UTILS_SSH: ${{secrets.LYRA_UTILS}} | |
run: mkdir $HOME/.ssh && echo "$LYRA_UTILS_SSH" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa | |
- name: Install Submodules | |
run: git submodule update --init --recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
# - name: Check snapshot | |
# run: forge snapshot --check | |
- name: Check format | |
run: forge fmt --check | |
- name: Run tests | |
run: forge test -vvv | |
- name: Run Coverage | |
run: forge coverage --report lcov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: . | |
env_vars: OS,PYTHON | |
fail_ci_if_error: true | |
files: ./lcov.info | |
name: lyra-v2 | |
verbose: true |