Skip to content

Fix TON monitoring - stop trying to pull not existing blocks #381

Fix TON monitoring - stop trying to pull not existing blocks

Fix TON monitoring - stop trying to pull not existing blocks #381

Workflow file for this run

name: Test
env:
TEST_BSC_WALLET_PRIVATE_KEY: ${{ secrets.TEST_BSC_WALLET_PRIVATE_KEY }}
TEST_ETH_WALLET_PRIVATE_KEY: ${{ secrets.TEST_ETH_WALLET_PRIVATE_KEY }}
TEST_LTC_WALLET_PRIVATE_KEY: ${{ secrets.TEST_LTC_WALLET_PRIVATE_KEY }}
TEST_BTC_WALLET_PRIVATE_KEY: ${{ secrets.TEST_BTC_WALLET_PRIVATE_KEY }}
TEST_POLYGON_WALLET_PRIVATE_KEY: ${{ secrets.TEST_POLYGON_WALLET_PRIVATE_KEY }}
TON_TEST_WALLET_MEMO: ${{ secrets.TON_TEST_WALLET_MEMO }}
TRON_TEST_WALLET_PRIVATE_KEY: ${{ secrets.TRON_TEST_WALLET_PRIVATE_KEY }}
TON_HV_TEST_WALLET_MEMO: ${{ secrets.TON_HV_TEST_WALLET_MEMO }}
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov
pip install .[test,evm,utxo]
- name: Run tests and generate coverage
run: |
pytest -m "not mysql" --cov=./ --cov-report=xml
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage.xml