Skip to content
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

Fix tests #93

Merged
merged 5 commits into from
Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt install sqlite3
pip install -U invoke
pip install -U invoke coveralls
- name: InvenTree setup
run: |
git clone https://github.com/inventree/InvenTree/
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Coveralls
run: |
coveralls --version
coveralls
coveralls --service=github
- name: Run build
run: |
invoke build
Expand Down
16 changes: 3 additions & 13 deletions kintree/kicad/templates/resistor-sm.kicad_sym
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,23 @@
(effects (font (size 1.27 1.27)) hide)
)
(symbol "IPN_0_1"
(rectangle (start -3.048 0) (end -3.81 0)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -3.81 0)
(xy -3.048 0)
(xy -2.54 0.762)
(xy -2.032 0)
(xy -1.524 -0.762)
(xy -1.016 0)
(xy -0.508 0.762)
(xy 0 0)
(xy 0.508 -0.762)
(xy 1.016 0)
(xy 1.524 0.762)
(xy 2.032 0)
(xy 2.54 -0.762)
(xy 3.048 0)
(xy 3.81 0)
(xy 3.81 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(rectangle (start 3.81 0) (end 3.048 0)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "IPN_1_1"
(pin passive line (at -5.08 0 0) (length 1.27)
Expand Down
16 changes: 3 additions & 13 deletions kintree/kicad/templates/resistor.kicad_sym
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,23 @@
(effects (font (size 1.27 1.27)) hide)
)
(symbol "IPN_0_1"
(rectangle (start -3.048 0) (end -3.81 0)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -3.81 0)
(xy -3.048 0)
(xy -2.54 0.762)
(xy -2.032 0)
(xy -1.524 -0.762)
(xy -1.016 0)
(xy -0.508 0.762)
(xy 0 0)
(xy 0.508 -0.762)
(xy 1.016 0)
(xy 1.524 0.762)
(xy 2.032 0)
(xy 2.54 -0.762)
(xy 3.048 0)
(xy 3.81 0)
(xy 3.81 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(rectangle (start 3.81 0) (end 3.048 0)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "IPN_1_1"
(pin passive line (at -5.08 0 0) (length 1.27)
Expand Down
219 changes: 34 additions & 185 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ wrapt = "^1.14.1"
python-Levenshtein = "^0.12.2"

[tool.poetry.dev-dependencies]
invoke = "^1.6.0"
coveralls = "^2.2.0"
invoke = "^1.7.0"
coveralls = "^3.3.0"

[tool.poetry.scripts]
kintree = 'kintree.kintree_gui:main'
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
digikey-api>=0.6.1,<1.0
fuzzywuzzy>=0.18.0,<1.0
inventree>=0.7.1,<1.0
inventree>=0.7.3,<1.0
mouser>=0.1.1,<1.0
multiprocess>=0.70.13,<0.71
PySimpleGUI>=4.60.1,<5.0
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test(c):
cprint('[MAIN]\tRunning tests using coverage\n-----')
# Start InvenTree server
c.run('cd InvenTree/ && inv server && cd ..', asynchronous=True)
c.run('sleep 5')
c.run('sleep 15')
# Copy test files
c.run('cp -r tests/ kintree/')
# Run Tests
Expand Down