Commit Graph
100 Commits
Author SHA1 Message Date
Matthias 9795abcb9e use relativ action references 2022-05-28 00:41:29 +02:00
Matthias 9c80be52b3 continue on error 2022-05-28 00:30:30 +02:00
Matthias 6bac19daff update references 2022-05-28 00:27:59 +02:00
Matthias 899e5b49c8 remove docstyle till that is fixed 2022-05-28 00:24:55 +02:00
Matthias 4153882543 move setup keys back to not disturbe tests 2022-05-28 00:06:50 +02:00
Matthias f35d618b6b refactor import export tests 2022-05-27 23:36:14 +02:00
Matthias 4ffad66191 revert back to simple wheel 2022-05-27 23:35:21 +02:00
Matthias d37f66f17c switch to install 2022-05-27 23:22:26 +02:00
Matthias 0b01b45d7b install wheel by python 2022-05-27 23:18:57 +02:00
Matthias 94e8dd3af2 no relative paths 2022-05-27 23:14:16 +02:00
Matthias d129eb6610 fix boolean 2022-05-27 23:12:36 +02:00
Matthias b120a297c5 make code cleaner 2022-05-27 23:03:20 +02:00
Matthias 11ffd41745 update input checks 2022-05-27 22:44:52 +02:00
Matthias 38ac32825f remove os from cache 2022-05-27 22:38:38 +02:00
Matthias 7aa983cb0c add bash statements 2022-05-27 22:36:49 +02:00
Matthias fdaaf7ecf4 resturcture 2022-05-27 22:33:59 +02:00
Matthias f5f7b36926 switch to action 2022-05-27 22:30:35 +02:00
Matthias 550a2480b5 update reference 2022-05-27 22:11:47 +02:00
Matthias deb361f70c refactor setup into workflow 2022-05-27 22:08:55 +02:00
Matthias a379813711 do not fail on docstring 2022-05-27 22:06:36 +02:00
Matthias 6bca3762c9 update flake call 2022-05-27 21:57:41 +02:00
Matthias 80d0d38350 Add seperate docstring test 2022-05-27 21:29:15 +02:00
Matthias 13c6b29bb3 ignore docstyle errors 2022-05-27 21:28:11 +02:00
Matthias 0dfa39ecea Github can't do this right now 2022-05-27 21:16:31 +02:00
Matthias 5c3669aa00 use matrix for os 2022-05-27 21:03:08 +02:00
Matthias 3a7732003e remove incidential change 2022-05-27 20:44:23 +02:00
Matthias 0dd8f02506 fix references 2022-05-27 20:43:31 +02:00
Matthias 31575a03c1 fix runner version 2022-05-27 20:39:53 +02:00
Matthias 0bbe8586bf refactor names to be similar 2022-05-27 20:36:41 +02:00
Matthias e56a75e255 use python3 2022-05-27 20:33:02 +02:00
Matthias 1eb291555b make setup actions more similar 2022-05-27 20:31:59 +02:00
Matthias e5f6fcf6bd Use invoke instead of static references 2022-05-27 20:24:03 +02:00
Matthias d3011e8127 just use full update 2022-05-27 20:22:02 +02:00
Matthias 7aea8894a0 move regular settings up into general envs 2022-05-27 20:16:36 +02:00
Matthias 7d27f0842b use step and cache for python setup 2022-05-27 20:12:31 +02:00
Matthias ca0cba36c2 Use the same code for python setup everywhere 2022-05-27 20:10:51 +02:00
Matthias 9dd77858fd make template matching simpler 2022-05-27 20:05:40 +02:00
Matthias a836a1b5a0 also wait on precommit 2022-05-27 20:02:35 +02:00
Matthias aced415802 rename pipeline steps 2022-05-27 20:01:33 +02:00
Matthias 793009215c fix style errors 2022-05-27 19:54:44 +02:00
Matthias 4a8e4b0bfb Add locales to excludes 2022-05-27 19:49:24 +02:00
Matthias 773a162179 exclude static 2022-05-27 19:06:08 +02:00
Matthias d48500dbb5 Add pre-commit to the stack 2022-05-27 18:52:34 +02:00
Matthias MairandGitHub dcffd9a3cf Add codeowners (#3079)
* Add codeowners

* use direct user handles
2022-05-27 11:04:40 +10:00
Matthias MairandGitHub 1c6e5f0f20 More plugin testing (#3052)
* Add a check of a child panel too

* do not cover error catching

* test for implementation error

* Add warning to test for

* Add test for event_sample

* ignore safety switches

* Add a settings flag to enable event testing

* test if not implemented is raises

* raise plugin specific errors

* use plugin specific error

* fix assertation

* add test for mixin

* this point can't be reached

* add tests for locate plugin

* fix assertations

* fix function call

* refert switch

* this is already caught by the internal API

* also cover mixin redirect
2022-05-24 09:23:06 +10:00
Matthias MairandGitHub a7ef560ee3 remove dead code (#3054)
no references are found in the code
2022-05-24 09:20:59 +10:00
840ade25cd Label printing unit test (#3047)
* Adds a very simple sample plugin for label printing

* Test mixin install status and API query

* Better error reporting for label printing API

* pep fixes

* fix assertation

* remove broken assertation

* igonre for coverage

* test the base process of printing

* refactor tests

* clean up basic test

* refactor url

* fix url creation

* test printing multiples

* test all printing endpoints

* test all list options - move api tests

* test for invalid filters

* refactor

* test with no part

* these should not happen
checks are in place upstream

* fix assertation

* do not cover continue parts

* test for wrong implementation

* ignore DB not ready

* remove covage from default parts

* fix url generation

* test debug mode

* fix url assertation

* check that nothing was rendered

Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
2022-05-23 08:54:44 +10:00
Matthias MairandGitHub 6247eecf69 Exclude testing exceptions from coverage (#3046)
* exclude testing excetions

* check user str

* check related users

* move no coverage marker

* fix assertation

* add test for filters

* do not cover logs
2022-05-22 15:54:13 +10:00
Matthias Mair 5805685c48 Merge branch 'master' of https://github.com/inventree/InvenTree into style-fixes 2022-05-21 23:57:41 +02:00
Matthias Mair 22adc37242 fix import 2022-05-21 02:40:45 +02:00
Matthias Mair e1ff4b6e87 more class use 2022-05-20 23:01:20 +02:00
Matthias Mair 43f714b96c use variable for values and up the all 2022-05-20 19:57:13 +02:00
Matthias Mair 9af0b981e7 fix class to enable userlogin 2022-05-20 19:14:35 +02:00
Matthias Mair 6ef8c3dc83 run as admin 2022-05-20 19:11:21 +02:00
Matthias Mair b7a501f42c log out first 2022-05-20 19:09:51 +02:00
Matthias Mair 43a2442f02 add usermodel back in 2022-05-20 18:53:33 +02:00
Matthias Mair 556b7036aa remove repo name from assertations
this breaks on other runners (gitlab, azure devops) as they handle repo names in another way
2022-05-20 18:42:41 +02:00
Matthias Mair 9b15d88d5f fix rule assign 2022-05-20 18:34:45 +02:00
Matthias Mair 45a9a4d0c5 add in missing class references 2022-05-20 17:55:11 +02:00
Matthias Mair 799af89312 style fixes 2022-05-20 17:45:04 +02:00
Matthias Mair a148dbf303 refactor 'all' role 2022-05-20 17:43:51 +02:00
Matthias Mair c50456297e fix assertation 2022-05-20 17:27:08 +02:00
Matthias Mair 4868947be0 remove comments from imports 2022-05-20 17:25:50 +02:00
Matthias Mair e1d22f538d resort imports 2022-05-20 17:24:51 +02:00
Matthias Mair ddc4ef3c38 pep fix 2022-05-20 13:37:12 +02:00
Matthias Mair 74726f0fda fix endline 2022-05-20 13:35:07 +02:00
Matthias Mair 93b6934127 fix trailing 2022-05-20 13:20:55 +02:00
Matthias Mair 9f922f06ff fix more imports 2022-05-20 12:53:04 +02:00
Matthias Mair a6f7a29817 fix import path 2022-05-20 12:48:03 +02:00
Matthias Mair 04ce4fa697 readd config 2022-05-20 12:38:15 +02:00
Matthias Mair e8287f02d4 rename 2022-05-20 12:33:51 +02:00
Matthias Mair 42d325e7ca fix spelling 2022-05-20 12:33:28 +02:00
Matthias Mair 3a1996dd48 PEP fix 2022-05-20 12:32:25 +02:00
Matthias Mair 023ff3c85a Merge branch 'master' of https://github.com/inventree/InvenTree into test-simplify 2022-05-20 12:13:31 +02:00
Matthias Mair 0d5dea3e6d refactor test setup 2022-05-20 12:12:32 +02:00
Matthias MairandGitHub 63c64f9dff Update apps.py 2022-05-20 08:31:21 +02:00
Matthias MairandGitHub c98cae8c1f switch print with assert 2022-05-20 08:19:14 +02:00
Matthias MairandGitHub e1abdddc4a Merge branch 'inventree:master' into not-working-tests 2022-05-20 00:28:35 +02:00
Matthias b87f44dbfc skip css if not available 2022-05-20 00:10:41 +02:00
Matthias MairandGitHub fe4cbe0ad9 Merge branch 'master' into devOps 2022-05-19 18:28:15 +02:00
Matthias MairandGitHub eac6456949 Update tasks.py 2022-05-19 08:04:20 +02:00
Matthias MairandGitHub dfaf7bcad8 Add static into apps 2022-05-19 07:57:45 +02:00
Matthias MairandGitHub b55c76d8ef test everything 2022-05-19 06:54:24 +02:00
Matthias 113a10eb8a disable static test for now 2022-05-19 01:48:58 +02:00
Matthias b2f5c60877 update pip before running - reduce warnings 2022-05-19 01:46:04 +02:00
Matthias 890a5cd1e6 rollback testing dsaveguards and add docs 2022-05-19 01:43:28 +02:00
Matthias MairandGitHub f98ec6cf35 Add pre-commit comment 2022-05-19 01:34:39 +02:00
Matthias 38f8e9c9ab remove duplicate install 2022-05-19 01:13:47 +02:00
Matthias c97a2531a0 update check 2022-05-19 01:06:14 +02:00
Matthias 4d4a164923 do full update 2022-05-19 01:02:24 +02:00
Matthias e348d05181 update installed apps 2022-05-19 01:02:07 +02:00
Matthias 295c849447 and print 2022-05-19 00:26:59 +02:00
Matthias 8dedf95a8d make 'some' request 2022-05-19 00:25:27 +02:00
Matthias 734affb983 PEP fix 2022-05-19 00:22:00 +02:00
Matthias 254c2ccca0 this should already happen in SetUp 2022-05-19 00:21:33 +02:00
Matthias 99f3fc814d add warning if DB not ready 2022-05-19 00:20:48 +02:00
Matthias 84871fdc79 remove tries - if we are here the AppReg should be ready or fail 2022-05-19 00:19:14 +02:00
Matthias d2ea76d350 fix setup 2022-05-19 00:16:03 +02:00
Matthias 5ab4fdeb84 skip tests if no themes are present 2022-05-19 00:14:20 +02:00
Matthias 3fd5761089 Merge branch 'master' of https://github.com/inventree/InvenTree into devOps 2022-05-18 23:39:58 +02:00