-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to pyproject.toml
#240
Conversation
GH Actions: - Use more processes in xdist for speedup - Upload coverage to Codecov in separate job - Add build test - General TLC
- name: Coverage report | ||
if: matrix.coverage | ||
run: | | ||
coverage xml --ignore-errors | ||
bash <(curl -s https://codecov.io/bash) | ||
coverage xml | ||
coverage report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coverage xml
- I think this is needed to convert the data into a compatible format for Codecov? But not sure.
coverage report
- Not strictly needed but can be useful to see the coverage stats sometimes
It might be worth taking the opportunity to roll the pytest.ini and .bandit files into this (& .coveragerc maybe?). |
Decided against this as coverage configs can be quite lengthy and also the exclusion regexes would need extra escaping in TOML |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Looks good
- Tried it locally with a couple of different pythons
Move from
setup.py
topyproject.toml
Docs:
Also: