mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
Test for docker workflow (#4014)
* Test for docker workflow * Ensure yaml is installed in the local env * Install the right package * Debug yaml path * Check data directory first * Let them run * More debug info * Try reverting a recent change * Disable test * Check envvar directory * Remove debug prints * Re-enable unit test * Use os.getenv * Prevent docker workflow from running on pull requests * Re-add InvenTree.helpers import
This commit is contained in:
@ -10,6 +10,7 @@ import hmac
|
||||
import json
|
||||
import logging
|
||||
import math
|
||||
import os
|
||||
import uuid
|
||||
from datetime import datetime, timedelta
|
||||
from enum import Enum
|
||||
@ -1371,7 +1372,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'PLUGIN_ON_STARTUP': {
|
||||
'name': _('Check plugins on startup'),
|
||||
'description': _('Check that all plugins are installed on startup - enable in container environments'),
|
||||
'default': settings.DOCKER,
|
||||
'default': os.getenv('INVENTREE_DOCKER', False),
|
||||
'validator': bool,
|
||||
'requires_restart': True,
|
||||
},
|
||||
|
Reference in New Issue
Block a user