Skip to content

Workflow file for this run

# Create code coverage report in Coveralls.io.
name: Coveralls.io code coverage report
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
name: Checking code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install coveralls
run: |
python -m pip install coveralls
- name: Checking coverage
run: |
coverage run --source=simplejustwatchapi -m pytest test/
COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_TOKEN }} coveralls