Commit Graph

874 Commits

Author SHA1 Message Date
jasquat 485ccf5e7b wip: almost can create an instance w/ burnettk 2022-05-26 17:29:54 -04:00
jasquat bb530d1744 wip: attempting to create process instance w/ burnettk 2022-05-26 16:20:30 -04:00
jasquat 797116a727 Merge branch 'main' of github.com:sartography/spiff-workflow-webapp 2022-05-26 14:17:09 -04:00
jasquat eb08e08ddd wip: attempting to create process instance w/ burnettk 2022-05-26 14:17:05 -04:00
burnettk c68c68b3b2 just skip unless main 2022-05-26 13:34:19 -04:00
jasquat 86938792fd added test to create a spec file w/ burnettk 2022-05-25 16:38:03 -04:00
jasquat eb082fe01c added test and code to add a process model w/ burnettk 2022-05-25 15:17:30 -04:00
jasquat 1993dc1bd6 wip for process deploy and fixed code coverage for test_data w/ burnettk 2022-05-25 10:19:35 -04:00
burnettk b7d83e101c unhardcode 2022-05-24 16:03:08 -04:00
burnettk 98d3fefaff coverage ignore some files 2022-05-24 15:29:09 -04:00
burnettk ddd8d4abfe allow int as well 2022-05-24 06:35:06 -04:00
burnettk 4c6af8eac1 add sonar exclusions for stuff that is not our code and refactor complex function 2022-05-23 23:10:47 -04:00
burnettk db7764d6c9 bump dependencies 2022-05-23 22:29:33 -04:00
burnettk ae6b4e45ca exclude migrations from static analysis since they are auto-generated 2022-05-23 22:29:19 -04:00
burnettk aa232fe292 update tests lint 2022-05-23 19:14:52 -04:00
burnettk 7846ec6836 remove useless variable and add guard clause to reduce complexity 2022-05-23 19:08:36 -04:00
jasquat 1712182a1e added a permission unit test w/ burnettk 2022-05-23 17:23:13 -04:00
jasquat d2896bdd99 fixed pre-commit w/ burnettk 2022-05-23 16:37:14 -04:00
jasquat e3d90a6044 added process models and cleaned up some of the code w/ burnettk 2022-05-23 16:36:23 -04:00
jasquat 69af11076e do not run sonar for pull requests and added files to test with keycloak w/ burnettk 2022-05-23 13:33:48 -04:00
burnettk d4655e4ac4 remove assertion that did not work 2022-05-20 18:11:32 -04:00
burnettk aa9f252e4a maybe it works to update the variable in the foor loop 2022-05-20 18:01:01 -04:00
burnettk fea9f36741 drop support for python 3.7 2022-05-20 17:45:10 -04:00
burnettk 162ecd9210 fix a sonarcloud code smell by using a constant 2022-05-20 17:32:21 -04:00
jasquat cf1168e3a6 print the db type as well in github actions w/ burnettk 2022-05-20 17:05:03 -04:00
jasquat 1c6ba49a93 use a mysql password in ci w/ burnettk 2022-05-20 17:03:08 -04:00
jasquat 4a4c40ad20 try running mysql with nil password w/ burnettk 2022-05-20 16:55:49 -04:00
jasquat 75b72ed536 fixed mypy issue w/ burnettk 2022-05-20 16:51:03 -04:00
jasquat 7079a2ca5b set instance path based on environment variable and determine db based on that from config init instead of config files w/ burnettk 2022-05-20 16:37:23 -04:00
jasquat a1fa050aee try using a github action for mysql w/ burnettk 2022-05-20 15:14:19 -04:00
jasquat a1ec53209d do not start mysql if using sqlite and fix flake8 with pre-commit to ignore the migrations dir w/ burnettk 2022-05-20 15:04:50 -04:00
jasquat 2b427fc64e run all tests again w/ burnettk 2022-05-20 14:37:23 -04:00
jasquat 7e2cde1881 do not commite sqlite3 files and run correct flask db upgrade command w/ burnettk 2022-05-20 14:30:11 -04:00
jasquat 0c1c9dcec5 respect committed migration dir and run flask upgrade in nox w/ burnettk 2022-05-20 14:25:12 -04:00
jasquat 921764608b try to run from within nox w/ burnettk 2022-05-20 13:49:02 -04:00
jasquat c5a57a7c65 find out where we are in ci 2022-05-20 13:42:28 -04:00
jasquat 21561d2570 attempt to run migrations in ci 2022-05-20 13:40:28 -04:00
jasquat abd16de9aa use the correct db and set root pass to null w/ burnettk 2022-05-20 12:27:05 -04:00
jasquat fceabe7c58 try mariadb instead w/ burnettk 2022-05-20 12:23:58 -04:00
jasquat 6944822552 use a normal mysql port w/ burnettk 2022-05-20 12:15:17 -04:00
jasquat bbb779ffec attempt to run ci with mysql w/ burnettk 2022-05-20 12:08:42 -04:00
jasquat 7657bc68a5 remove possibly unnecessary var set for typeguard w/ burnettk 2022-05-20 12:00:43 -04:00
jasquat d59c094d25 pass db type to typeguard w/ burnettk 2022-05-20 11:55:09 -04:00
jasquat 8fd3e14935 fixed typeguard usage w/ burnettk 2022-05-20 11:46:44 -04:00
jasquat cf2054458f run tests with sqlite w/ burnettk 2022-05-19 16:14:59 -04:00
jasquat ad0996fe72 tests may pass now w/ burnettk 2022-05-19 16:08:38 -04:00
jasquat 8e2423628f try to set project root based on root_path w/ burnettk 2022-05-19 14:59:46 -04:00
jasquat a62aca04c8 fix ci errors w/ burnettk 2022-05-19 14:47:52 -04:00
jasquat 66d16ae409 added configs w/ burnettk 2022-05-19 14:38:47 -04:00
jasquat 553dd8abca use sqlite3 in ci and added permission models w/ burnettk 2022-05-19 11:37:38 -04:00