Salvador E. Tropea
09fca23a42
[Tests] Changed "--test_dir output" by "--test_dir=output"
...
- The first fails if output exists!!
2022-07-09 19:04:48 -03:00
Salvador E. Tropea
9532422984
[Tests] Run slow tests separately
...
- Also run the faster ones in parallel
- The slowest use KiCad, not sure how safe is to run it in parallel
- Changed mechanism of coverage collection to allow parallel execution
2022-07-09 16:33:09 -03:00
Salvador E. Tropea
e05bfeb47d
Avoided checks during Debian package generation
2022-06-18 16:33:21 -03:00
Salvador E. Tropea
a3811537b8
Fixed svg_pcb_print: page orientation for portrait.
2022-06-12 16:07:58 -03:00
Salvador E. Tropea
e1b219bea3
Disable tests during .deb creation
...
- Pulls extra deps
- Another workflow runs the tests
2022-05-10 11:21:53 -03:00
Salvador E. Tropea
7fbd3a8ee2
Added target to generate signed Debian package
2022-05-10 10:45:09 -03:00
Salvador E. Tropea
4b341a7a92
Added internal plot of the worksheet to pcb_print
...
- Also renamed some options to make it simpler (sorry)
2022-04-16 15:09:19 -03:00
Salvador E. Tropea
9e1f645c31
Fixed problems when using page layout files with relative paths.
...
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea
dad1f91439
Added: text vars expansion for 3D model paths
...
Closes #172
2022-03-31 14:58:39 -03:00
Salvador E. Tropea
ab1b134358
Small changes to avoid problems with my local setup
...
- coveragve tool from the KiCad 5 image incompatible with the current one
2022-03-17 12:09:30 -03:00
Salvador E. Tropea
cb47cf3042
New output to export PCB in GENCAD format.
...
Closes #159
2022-03-08 15:55:34 -03:00
Salvador E. Tropea
86aa7b6357
New preflight to annotate according to PCB coordinates
...
Related to #93
2022-03-08 14:33:38 -03:00
Salvador E. Tropea
8b23a0904e
Configured falke8 for pre-commit
2022-02-17 12:47:01 -03:00
Salvador E. Tropea
b5ff069a63
Added pre-commit run to the lint target
2022-02-16 20:07:54 -03:00
Salvador E. Tropea
94b67a225f
Added more permissions that must be reverted after running docker image
2022-01-16 13:20:54 -03:00
Salvador E. Tropea
9d25b63e71
Added tests/.local clean-up to the Makefile
2022-01-15 15:42:55 -03:00
Salvador E. Tropea
562dd9c240
Added makefile targets for ki6 docker image.
2022-01-07 17:35:13 -03:00
Salvador E. Tropea
d5a1df9eb7
Modified test suite to collect the error in test_search_as_plugin_ok
2021-02-12 13:10:22 -03:00
Salvador E. Tropea
10f0706482
Exclude KiCad 6 code and enabled coverage for out_base tests.
2021-02-01 16:39:10 -03:00
Salvador E. Tropea
8492786dcc
Trying to get better coverage report.
2021-01-29 15:50:53 -03:00
Salvador E. Tropea
b53ffbb032
Added Python cache creation before running the tests.
...
It looks like pytest is loading some modules without macros. The cache
gets created without them. But when we load the same modules with
macros it fails.
2021-01-29 15:27:52 -03:00
Salvador E. Tropea
f96f56f0ee
Modified the Debian postint script for mcpyrate.
...
Now we generate the cache files running kibot after installation.
2020-10-17 14:28:14 -03:00
Salvador E. Tropea
dfc1b8e9be
Added target to run an individual test on the docker image.
2020-10-17 12:01:12 -03:00
Salvador E. Tropea
71fe37cfc6
Support for new `pcbnew_do export` options.
2020-10-09 11:27:30 -03:00
Salvador E. Tropea
23e46df1c5
Added variants support to the PCB print (PDF)
...
Needs some adjustement, but is working.
2020-09-07 19:26:16 -03:00
Salvador E. Tropea
0e394b468b
Added variants support to the schematic SVG print.
2020-09-06 18:22:38 -03:00
Salvador E. Tropea
d09400d49d
Added support for variants to the PcbDraw output.
2020-09-04 18:08:22 -03:00
Salvador E. Tropea
b36e276969
Added crosses in the *.Fab layer for excluded components.
2020-09-03 17:17:08 -03:00
Salvador E. Tropea
2fabf6da0c
Limited the log lines in single_test target.
2020-09-02 17:55:48 -03:00
Salvador E. Tropea
7dfd7aab16
Updated the way we generate the test_v5-schematic_(no_L).pdf reference
2020-09-01 20:28:19 -03:00
Salvador E. Tropea
7f6144e32e
Added tests for sch_variant and pdf_print_sch
...
For the filter and variant stuff.
2020-09-01 16:56:31 -03:00
SET
abbf100d17
Added line information to the "with document" generated lines.
2020-08-19 20:37:22 -03:00
SET
93c824b083
Modified mcpy to better report the line numbers.
...
Seems to work for Python 3.8, but I have doubts for 3.7.
2020-08-19 19:31:46 -03:00
SET
99d16eb50b
Added test for tests/board_samples/bom.xml-bak. in Makefile.
...
This can be left by an interrupted test.
2020-08-18 21:30:49 -03:00
SET
e689480395
Added PyPI targets.
2020-08-18 13:20:44 -03:00
SET
89914443f0
Renamed the kiplot module as kibot.
...
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00
SET
0de6776cb6
Modified the names of the Makefile test targets.
2020-08-16 11:34:40 -03:00
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