Skip to content

Commit c633773

Browse files
RFingAdamclaude
andcommitted
fix: Add gerber test fixture to git, unblock CI
The .gitignore had *.gbr which prevented tests/fixtures/sample_top_copper.gbr from being committed. Added exceptions for test fixture files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e0442a7 commit c633773

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ htmlcov/
5454
*.gbr
5555
*.drl
5656
*.ger
57+
# Allow test fixtures
58+
!tests/fixtures/*.gbr
59+
!tests/fixtures/*.drl
60+
!tests/fixtures/*.ger
5761

5862
# Design review outputs (customer-specific, do not commit)
5963
/*.docx
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
G04 Synthetic test Gerber - Top Copper Layer*
2+
G04 Generated for PCB EMCopilot parser tests*
3+
%TF.GenerationSoftware,SyntheticTestGen,1.0*%
4+
%TF.CreationDate,2025-01-15T12:00:00+00:00*%
5+
%TF.ProjectId,TestBoard,abc123,1.0*%
6+
%TF.FileFunction,Copper,L1,Top*%
7+
%TF.FilePolarity,Positive*%
8+
%FSLAX34Y34*%
9+
%MOMM*%
10+
%ADD10C,0.1500*%
11+
%ADD11C,0.2000*%
12+
%ADD12C,0.2500*%
13+
%ADD13R,0.6000X0.2000*%
14+
%ADD14C,0.6000*%
15+
%ADD15R,1.0000X1.0000*%
16+
D10*
17+
X00000000Y00150000D02*
18+
X00100000Y00150000D01*
19+
X00100000Y00150000D02*
20+
X00250000Y00150000D01*
21+
D10*
22+
X00000000Y00160000D02*
23+
X00100000Y00160000D01*
24+
X00100000Y00160000D02*
25+
X00250000Y00160000D01*
26+
D11*
27+
X00250000Y00150000D02*
28+
X00150000Y00080000D01*
29+
X00150000Y00080000D02*
30+
X00200000Y00120000D01*
31+
D12*
32+
X00200000Y00150000D02*
33+
X00250000Y00150000D01*
34+
D14*
35+
X00150000Y00080000D03*
36+
X00300000Y00150000D03*
37+
X00200000Y00250000D03*
38+
D15*
39+
X00400000Y00250000D03*
40+
X00350000Y00200000D03*
41+
G04 End of file*
42+
M02*

0 commit comments

Comments
 (0)