From 29f84d9ad2bbf4d430e80bcc937a904a68e1acac Mon Sep 17 00:00:00 2001 From: sainquake Date: Tue, 6 Feb 2024 10:35:38 +0300 Subject: [PATCH] pcb-tools, workflow --- .github/workflows/tests.yml | 32 +++++------------- .gitignore | 1 - .gitmodules | 3 ++ .../BOM/Bill of Materials-BOM.xlsx | Bin 11687 -> 11724 bytes scripts/pcb-tools | 2 +- scripts/pcb-versions | 1 + 6 files changed, 14 insertions(+), 25 deletions(-) create mode 160000 scripts/pcb-versions diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fd95c77..ab9b314 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,34 +8,20 @@ jobs: - uses: actions/checkout@v2 with: path: repo - + - name: Checkout pcb-versions repo uses: actions/checkout@v3 with: repository: RaccoonLabHardware/pcb-versions token: ${{ secrets.ACCESS_TOKEN }} - path: repo/pcb-versions + path: repo/scripts/pcb-versions - - name: Check that all needed files exists (test-files-exists.py) - run: | - cd repo && python pcb-versions/test-files-exists.py - - - name: Generate dict BOMList from BOM file - run: | - cd repo && pip install openpyxl && python pcb-versions/test-generateBOM.py - - - name: Check Version Resistors is correct if exists (test-versions.py) - run: | - cd repo && python pcb-versions/test-versions.py - - - name: Check Manufacturer Partnumber (test-wrong-MP.py) - run: | - cd repo && python pcb-versions/test-wrong-MP.py - - - name: Check that all BOM components contains in 'pick and place' (test-BOM-PNP.py) - run: | - cd repo && pip install pandas && python pcb-versions/test-BOM-PNP.py + - name: Checkout pcb-tools repo + uses: actions/checkout@v3 + with: + repository: sainquake/pcb-tools + path: repo/scripts/pcb-tools - - name: All other tests that can be added in future + - name: pcb-tools-test run: | - cd repo && pip install steputils && python pcb-versions/test-other.py \ No newline at end of file + cd repo && pip install pytest && pytest -v \ No newline at end of file diff --git a/.gitignore b/.gitignore index ae2cd0f..e1789ad 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,4 @@ Status Report.Txt *.htm *.html ~* -pcb-versions/ paths.json diff --git a/.gitmodules b/.gitmodules index 94d99a5..0f69f57 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "scripts/pcb-tools"] path = scripts/pcb-tools url = https://github.com/sainquake/pcb-tools +[submodule "scripts/pcb-versions"] + path = scripts/pcb-versions + url = https://github.com/RaccoonLabHardware/pcb-versions.git diff --git a/Project Outputs/BOM/Bill of Materials-BOM.xlsx b/Project Outputs/BOM/Bill of Materials-BOM.xlsx index c80257265b5119029e4c6a7c26a76ebf25821eb3..5094a70db4ff093e9ac3682096321381bc75cbe9 100644 GIT binary patch delta 3915 zcmV-R547;7Tg+Rq+6I4&gL3A?0{{RI2><{O0001ZY%h0ja%*C5Z)+}iZEUPnU2ozz z6n$T5|3fAkX`bA~Aqfx_MudR2Qkh{}rhP#|ZsIiFI&s!<3RN}#eXj$dFpO4gXA!aE zj~t(S@445PpEo%-o~f*uC?+qZJU z3UiAP$a646nzEQiBCc~SG<5+EKJXX>Q^HH|zD zt{w{^$pZ(oH`sqOHWL0mJlKZDX-|TslcRDLOHqkbT>!MTC4FK)wk?d0T(CLy!Ffoo zCFwKMG2F9~{ySOudo2GA4BNkqhCy15RswL|JJGy7H^&@ari|0Ot#l1imS0G&BgIXF zlS)kzrf4!SyD$`MdNd*HGOQVgRmbgg9Mc-^0LQ{WIbF}~=xA2e|zTbB|y%U5n z;)=?GC^{B}0v+z``c=&}*yBuq!i^jHcg-Y)!~%VRt)6wtFl(rGW&S-?1@@?5>Yo z*TZP!j=E^#d5(+iaNPCrcQ8i!K`cnEvYi$*^uTl>@Fz<%vT0Ya9n>s&qw#9*en|H} zH0|1VZLqF-cZ{y9H`VB&vAJhOBGv;FVF!$QIUawmo5g#Us0?J+w_Vt>o%@5b#|#)_ zucs#=J2bO_`P#*y4e}hJPA{4uH*_7;vzULnu{)OB5o8=sqo4D^xmD#1-mTNKCzR?tMJ7GNHXcF3y@FY=4IWQAHS znBsqMJ3zX{gx|KZ&(YkJrX=z#@)Q+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