Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
quant:
name: quant — CBRI model (21 tests)
runs-on: ubuntu-latest
defaults:
run:
working-directory: quant-backtest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
cache-dependency-path: quant-backtest/requirements-dev.txt
- run: pip install -r requirements-dev.txt
# e2e tests are deselected: they replay the real depeg dataset,
# which is gitignored (regenerate with `python thegraph_client.py`).
- run: python -m pytest -m "not e2e"

execution:
name: execution — Uniswap v3 breaker (8 tests)
runs-on: ubuntu-latest
defaults:
run:
working-directory: live-execution
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: live-execution/package-lock.json
- run: npm ci
- run: npx tsc --noEmit
- run: npm test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🌒 Umbra

[![CI](https://github.com/nadaamd/umbra/actions/workflows/ci.yml/badge.svg)](https://github.com/nadaamd/umbra/actions/workflows/ci.yml)

> **The autonomous financial circuit breaker for DeFi.**
> Detects systemic risk (liquidity crises, depegs) through a quantitative model, and automatically evacuates users' funds into a safe stablecoin — **before** the pool collapses.

Expand Down
Loading