codecov / python-standard

Codecov coverage standard for Python
MIT License
14 stars 21 forks source link

CI script example in README is outdated/wrong? #23

Closed smheidrich closed 1 year ago

smheidrich commented 2 years ago

The README says:

Inside .github/workflows/python-standard.yml file:

install:
 - pip install codecov
 - pip install pytest-cov
script:
 - pytest --cov=./ --cov-report=xml
 - codecov

Is it just me or is that not proper GitHub Actions syntax? script followed by a list of instructions looks more like GitLab CI syntax, but that doesn't have install either. Or is it supposed to be some kind of CI spec pseudocode?

cclauss commented 1 year ago

@thomasrockhu-codecov Your thoughts please on this issue?

thomasrockhu-codecov commented 1 year ago

@cclauss this is definitely outdated, I'll make a fix next week. Thanks for pinging, and thanks for the issue @smheidrich