Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
I had to -1 the slider-0.90.2-incubating RC0 build because I saw a bunch of pyc files in the source archive.
Upon investigation on how these got there, it seems like the pytests that we run for the slider-agent module are invoked inside the src/ directory.
We should really follow the same approach that is done for the Java files:
- Compilation from src into target (just a copy for python)
- Invocation of tests from inside target
This should net us two things:
- A build does not dirty the workspace (lots of ways this is good)
- We can remove the *.pyc entry from .gitignore