Commit Graph

15 Commits

Author SHA1 Message Date
SET e11a5441d3 Added Makefile target to get a shell on docker test image. 2020-08-13 16:58:04 -03:00
SET e570cf4f89 Added a target to quick test a group of pytests
Needs the pytest-xdist plug-in and is tuned for a 6 core CPU.
Ryzen 5 to be more specific.
2020-08-12 13:04:24 -03:00
Salvador E. Tropea 7d56b59ba4 Added simple CSV and HTML test for the internal BoM. 2020-07-31 14:06:54 -03:00
Salvador E. Tropea bb5750df13 Added test for config files to the Makefile
Config files in the root of the repo makes some tests to fail.
2020-07-31 11:52:42 -03:00
Salvador E. Tropea 62c7a60ad4 Added Makefile target to run a single test. 2020-07-22 17:44:43 -03:00
Salvador E. Tropea c04d190d01 Optimized installed scripts.
Added a script to create a postinst script that compiles all the
sources that doesn't use macros.
2020-07-11 20:24:51 -03:00
Salvador E. Tropea 4368364489 Refactored the BaseOutput class to make it more similar to the YAML
Now the options are just an attribute of the outputs.
It means we have a set of classes for the options.
All the output content is parsed by the classes, including the Layers.
Now the layers support a simple string (with interesting shortcuts), a list of
strings or the original list of dicts.
2020-07-08 15:17:24 -03:00
Salvador E. Tropea ef4b2f8f95 Regenarte the README.md when we run the linter. 2020-06-29 12:52:14 -03:00
Salvador E. Tropea a436aea8e7 Now the README.md is sychronized using the help output.
The --help-outputs and --help are embedded in the README.md
To make it easier to read now options are enclosed in `` and the list of
outputs is sorted.
2020-06-27 18:28:05 -03:00
Salvador E. Tropea 0d9256fb24 The 'check_zone_fills' option is now independent of 'run_drc'
Implemented in a different way.
For all internal commands now we use Python bindings to fill the zones as
suggested by @arikrupnik in johnbeard/kiplot#11
For 'print_pcb' now we ask KiCad to do it before printing (needs v1.4.1)
2020-06-14 15:12:56 -03:00
Salvador E. Tropea 4a4126be47 Added Makefile target to run the tests using the docker image locally. 2020-05-19 12:08:18 -03:00
Salvador E. Tropea d500178c24 Recoded all the tests. I used the class I wrote for kicad-automation-scripts.
Now the tests are simpler, I also suitched to test the application from "outside"
because I was having some ridiculous fails.
Also added coverage meassurement, which is currently pathetic.
2020-05-14 13:11:31 -03:00
Salvador E. Tropea 450b0ab671 Added test and test_local targets to the Makefile. 2020-05-14 09:43:48 -03:00
Salvador E. Tropea ba22eae5b8 Tunned flake8 and removed all unfiltered warnings and errors 2020-04-28 17:56:50 -03:00
Salvador E. Tropea 49bb86d748 Moved the module to the root and added a script named kiplot to call it from /usr/bin.
Simplified the setup.py to make it work with Debian.
Added Debian package files.
Added a MANIFEST.in
2020-03-10 14:49:18 -03:00