Skip to content

Merge pull request #94 from aviolaris/1.11.x #95

Merge pull request #94 from aviolaris/1.11.x

Merge pull request #94 from aviolaris/1.11.x #95

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 app/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