feat: display accuracy column only when we have homogeneous data #16
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' | |
jobs: | |
codecov: | |
name: Codecov Workflow | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@master | |
with: | |
python-version: 3.8 | |
- name: Generate coverage report | |
run: | | |
pip install mock pytest pytest-cov | |
pip install -r requirements.txt | |
python -m pytest --cov=./ --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.xml | |
flags: unittests |