-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (27 loc) · 1.02 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: tests
on: [push]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
path: repo
- name: Check that all needed files exists (test-files-exists.py)
run: |
cd repo && python tests/test-files-exists.py
- name: Generate dict BOMList from BOM file
run: |
cd repo && pip install openpyxl && python tests/test-generateBOM.py
# - name: Check Version Resistors is correct if exists (test-versions.py)
# run: |
# cd repo && python tests/test-versions.py
- name: Check Manufacturer Partnumber (test-wrong-MP.py)
run: |
cd repo && python tests/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 tests/test-BOM-PNP.py
- name: All other tests that can be added in future
run: |
cd repo && pip install steputils && python tests/test-other.py