Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Sample Python script for initiating test runs and checking for the results

License

Notifications You must be signed in to change notification settings

karuna-health/runscope-ci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-trigger-sample

Sample Python script for initiating test runs and checking for the results. Use this script in your CI process to start test runs and change the build status based on the result of the tests. If any of the triggered tests fail, the script will exit with a non-zero error code.

Usage

  • Install requirements (virtualenv recommended): pip install -r requirements.txt
  • Set the environment variable RUNSCOPE_ACCESS_TOKEN in your CI provider
  • Run with a Trigger URL as the sole parameter: python app.py https://api.runscope.com/radar/:uuid/trigger

Generating an API key

About

Sample Python script for initiating test runs and checking for the results

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • Dockerfile 3.1%