Skip to content

Liquidation Mechanism: Phases 1 & 2 (core + DEX) #18

Liquidation Mechanism: Phases 1 & 2 (core + DEX)

Liquidation Mechanism: Phases 1 & 2 (core + DEX) #18

Workflow file for this run

name: Cadence Tests
on:
pull_request:
branches: [ "**" ]
push:
branches: [ main, feature/liquidation-mechanism ]
jobs:
cadence-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Flow CLI v2.7.2 (matches local)
run: |
export FLOW_CLI_VERSION=v2.7.2
sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
echo "$HOME/.local/bin" >> $GITHUB_PATH
flow version
- name: Cache Flow emulator data (disabled)
run: echo "We intentionally avoid caching ~/.flow to prevent state collisions between tests."
- name: Install Cadence dependencies
run: flow deps install --skip-alias --skip-deployments
- name: Make test runner executable
run: chmod +x ./run_tests.sh
- name: Run Cadence tests with runner
run: ./run_tests.sh