Skip to content

fix: send notification when fees are exactly at threshold #141

fix: send notification when fees are exactly at threshold

fix: send notification when fees are exactly at threshold #141

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync --frozen
- name: Check formatting with ruff
run: uv run ruff format --check .
- name: Run ruff checks
run: uv run ruff check .
- name: Setup PostgreSQL
run: make postgres
- name: Run tests
run: uv run pytest .
env:
DATABASE_URL: "postgresql+asyncpg://boltz:boltz@localhost:5433/fees"
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TEST_BOT_NAME: ${{ secrets.TEST_BOT_NAME }}
TEST_API_ID: ${{ secrets.TEST_API_ID }}
TEST_API_HASH: ${{ secrets.TEST_API_HASH }}
TEST_API_SESSION: ${{ secrets.TEST_API_SESSION }}