diff --git a/.github/workflows/tests-manual.yml b/.github/workflows/tests-manual.yml new file mode 100644 index 0000000..381d525 --- /dev/null +++ b/.github/workflows/tests-manual.yml @@ -0,0 +1,16 @@ +name: Tests (manual) +on: { workflow_dispatch: {} } +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: { python-version: "3.12" } + - name: Install deps + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install pytest + - name: Run tests + run: pytest -q diff --git a/README.md b/README.md index 28c6866..07fcdbd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ # Cronos DeFi Sentinel -Compact Python bot (<1000 lines) που παρακολουθεί το Cronos wallet σου, -κρατάει ledger με συναλλαγές, υπολογίζει PnL (realized & unrealized), +[![CI (AST only)](https://github.com/Zaikon13/wallet_monitor_Dex/actions/workflows/ci.yml/badge.svg)](https://github.com/Zaikon13/wallet_monitor_Dex/actions/workflows/ci.yml) +[![Tests (manual)](https://github.com/Zaikon13/wallet_monitor_Dex/actions/workflows/tests-manual.yml/badge.svg)](https://github.com/Zaikon13/wallet_monitor_Dex/actions/workflows/tests-manual.yml) +[![Runtime Smoke](https://github.com/Zaikon13/wallet_monitor_Dex/actions/workflows/runtime-smoke.yml/badge.svg)](https://github.com/Zaikon13/wallet_monitor_Dex/actions/workflows/runtime-smoke.yml) + +Compact Python bot (<1000 lines) που παρακολουθεί το Cronos wallet σου, +κρατάει ledger με συναλλαγές, υπολογίζει PnL (realized & unrealized), και στέλνει reports / alerts στο Telegram. ---