thecookingguy: indicate that local warning message variable is implem… #1140
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
name: coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "< 3.12" # ref: https://github.com/hhursev/recipe-scrapers/issues/909 | |
- name: run unittests | |
run: | | |
pip install tox | |
tox -e py | |
- name: (coveralls.io) Report code coverage | |
uses: AndreMiras/coveralls-python-action@develop | |
with: | |
github-token: "SmlfzlVJy4ow55rduU7IU5GmmFCfAdGeq" | |
- if: github.event_name == 'push' | |
name: (codacy) Create coverage xml report | |
run: | | |
pip install coverage | |
coverage xml | |
- if: github.event_name == 'push' | |
name: (codacy) Report code coverage | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: "coverage.xml" |