-
Notifications
You must be signed in to change notification settings - Fork 24
Add pcb import tests
#523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pcb import tests
#523
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,3 +100,23 @@ jobs: | |
|
|
||
| - name: Test stdlib builds | ||
| run: pcb build stdlib | ||
|
|
||
| - name: Checkout kicad-test-fixtures | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| repository: diodeinc/kicad-test-fixtures | ||
| token: ${{ secrets.DIODE_ROBOT_TOKEN }} | ||
| path: kicad-test-fixtures | ||
|
|
||
| - name: Test pcb import (E2E) | ||
| run: | | ||
| pcb new --workspace test-import --repo github.com/test/test-import | ||
| find kicad-test-fixtures -name '*.kicad_pro' | while IFS= read -r pro; do | ||
| echo "=== Importing $pro ===" | ||
| pcb import "$pro" ./test-import | ||
| done | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pipeline while loop may silently swallow import failuresMedium Severity The |
||
| for board_dir in ./test-import/boards/*/; do | ||
| board=$(basename "$board_dir") | ||
| echo "=== Layout $board ===" | ||
| pcb layout "./test-import/boards/$board/$board.zen" --no-open | ||
| done | ||


Uh oh!
There was an error while loading. Please reload this page.