Commit Graph

19 Commits

Author SHA1 Message Date
d-asnaghi 5dc19ca331 fix: Add serial_test to prevent race conditions in module loading tests
- Add serial_test dependency to pcb-zen crate
- Mark tests that use package aliases with #[serial_test::serial]
- This prevents race conditions with the global ALIAS_CACHE when tests run in parallel
- Fixes test failures on Ubuntu where path canonicalization differs from macOS
2025-07-06 23:22:33 -07:00
d-asnaghi 0855e252e4 do not shadow alias 2025-07-06 23:14:21 -07:00
d-asnaghi bbd78f68bc refresh snap 2025-07-06 23:03:43 -07:00
d-asnaghi 7ed2ee1ae0 make tests work on windows 2025-07-06 22:50:28 -07:00
d-asnaghi 6a7f8e2a38 canonical cache 2025-07-06 22:50:28 -07:00
d-asnaghi fafd10cb89 revert eval errors 2025-07-06 22:50:28 -07:00
d-asnaghi b1529dc659 move to snapshot tests 2025-07-06 22:50:28 -07:00
d-asnaghi 4b4c5d01fd remove unnecessary code 2025-07-06 22:50:28 -07:00
d-asnaghi cd468854bd update snapshots 2025-07-06 22:50:28 -07:00
d-asnaghi f31f35c2d5 local package resolution 2025-07-06 22:50:28 -07:00
d-asnaghi aa0ff32bd1 use load resolving with modules 2025-07-06 22:50:28 -07:00
Lenny Khazan a8aa30d97e Optimize symbol library loading (#20)
* Fix incorrect symbol rendering in schematics viewer

* Cache symbol library

* update snaps
2025-07-07 01:50:17 -04:00
Davide Asnaghi f1a972ee59 kicad test (#18)
* add test for kicad

* cache dir in snapshots
2025-07-05 18:06:02 -04:00
Lenny Khazan d6ff024281 Update symbol handling, support gitlab packages (#14)
* Add Symbol() primitive

* Add print output to snaps

* gitlab support

* Add gitlab support, handle unnamed pins

* Add @kicad-symbols alias

* cargo fmt

* fmt

* update snap
2025-07-05 00:10:45 -04:00
Lenny Khazan 05ea979f76 Reduce code duplication (#12)
* DRY

* reduce is_list implementation length by 24%

* remove simple.rs
2025-07-04 00:04:54 -04:00
Lenny Khazan f75787dbf3 Standardize crate metadata (#10) 2025-07-02 23:40:29 -04:00
Lenny Khazan 143633eb14 Starlark -> Zener (#8) 2025-07-02 17:25:45 -04:00
Lenny Khazan cbaf6f765b remove net kwarg support 2025-07-02 16:42:02 -04:00
Lenny Khazan e852477546 Initial release (#5)
* Initial release

* cargo-dist

* build and test CI

* update ubuntu workflow

* fmt

* ubuntu: install deps

* clippy: 0.1.88 fixes

* format

* install clippy

* Update README.md

* Don't run cargo-dist on PRs
2025-07-01 04:06:08 -04:00