Skip to content

Fix liquidation threshold calculation for multiple collaterals #187

Fix liquidation threshold calculation for multiple collaterals

Fix liquidation threshold calculation for multiple collaterals #187

Workflow file for this run

name: Contract Testing Pipeline
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
compile-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "15"
- name: Install Git
run: sudo apt install git -y
- name: Install node modules
run: yarn
- name: Run ganache-cli in background
run: ./ci/flextesa.sh
- name: Compile and test contracts
run: yarn compile && yarn test
scenario-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Git
run: sudo apt install git -y
- name: Install python and pip
run: sudo apt install python pip
- name: Install crypto libs
run: sudo apt install libsodium-dev libsecp256k1-dev libgmp-dev
- name: Install pytezos and pytest
run: pip install pytezos pytest
- name: Compile contracts
run: ./integration_tests/build.sh
- name: Run scenario tests
run: pytest -s -v