Skip to content

Conversation

@tleonhardt
Copy link
Member

Now that we have a lot of unit tests and are running code coverage analysis,
our unit tests take a long time to run.

Changes include ...

tox:

  • Install pytest-xdist to parallelize unit tests
  • Only run code coverage analysis on Python 2.7 and 3.6
  • Don't run examples/example.py anymore, just run the unit tests

TravisCI:

  • Stop building on Python 3.7-dev since that won't be released for some time

AppVeyor:

  • Stop building on Python 3.4 since that isn't as important and is covered by Travis

Now that we have a lot of unit tests and are running code coverage analysis,
our unit tests take a long time to run.

Changes include ...

tox:
- Install pytest-xdist to parallelize unit tests
- Only run code coverage analysis on Python 2.7 and 3.6
- Don't run examples/example.py anymore, just run the unit tests

TravisCI:
- Stop building on Python 3.7-dev since that won't be released for some time

AppVeyor:
- Stop building on Python 3.4 since that isn't as important and is covered by Travis
@tleonhardt tleonhardt added this to the 0.7.4 milestone Jul 2, 2017
@tleonhardt tleonhardt self-assigned this Jul 2, 2017
@codecov
Copy link

codecov bot commented Jul 2, 2017

Codecov Report

Merging #166 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #166   +/-   ##
=======================================
  Coverage   96.22%   96.22%           
=======================================
  Files           1        1           
  Lines        1138     1138           
=======================================
  Hits         1095     1095           
  Misses         43       43

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29578be...a89b392. Read the comment docs.

@tleonhardt tleonhardt closed this Jul 2, 2017
It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor.
It appears to calculate the code coverage incorrectly when using pytest-xdist.
@tleonhardt tleonhardt reopened this Jul 3, 2017
@tleonhardt tleonhardt merged commit 7dd5db1 into master Jul 3, 2017
@tleonhardt tleonhardt deleted the speedup_tests branch July 3, 2017 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants