Skip to content
Snippets Groups Projects
Commit eac19e75 authored by Krisjanis Rijnieks's avatar Krisjanis Rijnieks :lion_face:
Browse files

Try custom badge approach

parent b35bee9f
No related branches found
No related tags found
No related merge requests found
Pipeline #534775 failed
......@@ -12,23 +12,29 @@ stages:
test_inventory:
stage: stage_test_inventory
needs: []
script:
- echo "Do we have all parts in inventory covered?"
- ./tests/inventory.sh ./fab.kicad_sym ./tests/whitelist.txt
- ./tests/symbols.sh
script: |
echo "Do we have all parts in inventory covered?"
./tests/inventory.sh ./fab.kicad_sym ./tests/whitelist.txt && echo '{"status": "passed"}' > test_inventory_status.json || echo '{"status": "failed"}' > test_inventory_status.json
artifacts:
paths:
- test_inventory_status.json
test_footprints:
stage: stage_test_footprints
needs: []
allow_failure: true
script:
- echo "Do we have footprints for all symbols?"
- exit 1
script: |
echo "Do we have footprints for all symbols?"
echo '{"status": "failed"}' > test_footprints_status.json && exit 1
artifacts:
paths:
- test_footprints_status.json
test_3dmodels:
stage: stage_test_3dmodels
needs: []
allow_failure: true
script:
- echo "Do we have 3D models for all footprints?"
- exit 1
script: |
echo "Do we have 3D models for all footprints?"
echo '{"status": "failed"}' > test_3dmodels_status.json && exit 1
artifacts:
paths:
- test_3dmodels_status.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment