-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Run tests once using coverage on ubuntu-latest
with Python 3.9
#1794
Run tests once using coverage on ubuntu-latest
with Python 3.9
#1794
Conversation
.github/workflows/test_on_push.yml
Outdated
@@ -88,7 +92,7 @@ jobs: | |||
if: matrix.os == 'ubuntu-latest' | |||
run: tox -e examples | |||
|
|||
- name: Install and run coverage | |||
- name: Run unit tests for GNU/Linux with Python 3.9 and generate 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.
Can we move this to line 78? Better to check the unit tests before integration tests and examples
Codecov Report
@@ Coverage Diff @@
## develop #1794 +/- ##
========================================
Coverage 99.24% 99.24%
========================================
Files 343 343
Lines 18983 18983
========================================
Hits 18840 18840
Misses 143 143 Continue to review full report at Codecov.
|
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.
Thanks, looks good
.github/workflows/test_on_push.yml
Outdated
run: python -m tox -e quick | ||
|
||
- name: Run unit tests for GNU/Linux with Python 3.9 and generate coverage report | ||
if: success() && (matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9) |
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.
not sure we need the if success here
e845eb6
to
0e08601
Compare
Description
ubuntu-latest
with Python3.9
ubuntu-latest
Speeds up the CI by 15-30 mins!
Fixes # (issue)
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ flake8
$ python run-tests.py --unit
$ cd docs
and then$ make clean; make html
You can run all three at once, using
$ python run-tests.py --quick
.Further checks: