Skip to content

Add PyPI version badge to README.md #19

Add PyPI version badge to README.md

Add PyPI version badge to README.md #19

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cov codecov
pip install -e .
- name: Run unit tests with coverage
run: |
pytest --cov=web3_mcp --cov-report=xml --cov-report=term tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
fail_ci_if_error: false
# Token is optional for public repositories
token: ${{ secrets.CODECOV_TOKEN }}