Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |