Skip to content

9 add gini index to assesspy functions #48

9 add gini index to assesspy functions

9 add gini index to assesspy functions #48

Workflow file for this run

on:
pull_request:
branches: [main, master]
push:
branches: [main, master]
name: test-coverage
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Run pytest
run: |
pip install pytest pytest-cov
pip install -r requirements.txt
pytest --cov=./ --cov-report=xml
- name: Upload to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
- name: Upload artifact
if: failure()
uses: actions/upload-artifact@v3
with:
name: coverage-results
path: ./coverage.xml