Skip to content

docs: add badges

docs: add badges #3

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install greenlet
pip install coverage
pip install coveralls
pip install pytest
pip install pytest_asyncio
pip install -r requirements.txt
- name: Run tests with coverage
env:
PYTHONUNBUFFERED: "1"
PYTHONMALLOC: "debug"
run: |
coverage run -m pytest -v
coverage xml
coverage report
- name: Upload coverage data to coveralls.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
coveralls --service=github