Ingredient grouping support for tasty (#1325) #11
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 | |
- v14 | |
pull_request: | |
branches: | |
- main | |
- v14 | |
jobs: | |
coverage: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- 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" |