Skip to content

Merge pull request #117 from nbronn/bug/mapomatic-upgrade #370

Merge pull request #117 from nbronn/bug/mapomatic-upgrade

Merge pull request #117 from nbronn/bug/mapomatic-upgrade #370

Workflow file for this run

name: Code coverage
on:
push:
branches:
- main
- 'stable/**'
pull_request:
branches:
- main
- 'stable/**'
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox coveragepy-lcov 'coverage<7'
- name: Run coverage
run: tox -ecoverage
- name: Convert to lcov
run: coveragepy-lcov --output_file_path coveralls.info
- name: Upload report to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coveralls.info