Skip to content

Merge pull request #109 from aviolaris/2.1.x #107

Merge pull request #109 from aviolaris/2.1.x

Merge pull request #109 from aviolaris/2.1.x #107

Workflow file for this run

---
name: Coveralls
on:
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- "3.11"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
pip install pytest-cov
- name: Run Tests
run: |
pytest --cov=app
coverage report -m
coverage lcov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov