Framework for maintaining Watson Assistant data in github repository with bundle of tools for generating, testing and uploading. Travis: https://travis-ci.com/IBM/watson-assistant-workbench. Artifactory (will be deleted after 25 Nov 2019): https://na.artifactory.swg-devops.com/artifactory/webapp/#/artifacts/browse/tree/General/iot-waw-trevis-generic-local.
Apache License 2.0
16
stars
25
forks
source link
Setup some time-consuming tests as nightly ones #318
Some tests take a long time - run them as nightly ones only (e.g. https://github.com/IBM/watson-assistant-workbench/ci/unit_tests/functions_delete_package/main_test.py - #@pytest.mark.parametrize('useApikey', [True, False]))
From Travis doc: "To check whether a build was triggered by cron, examine the
TRAVIS_EVENT_TYPE
environment variable to see if it has the valuecron
."I.e. add following at the beginning of test functions that should be skipped in branch and PR builds (time or requests consuming ones)