Skip to main content

A robotframework extension to run circleci pipelines

Project description

robotframework-circlecilibrary

robotframework-circlecilibrary is an extension library for the robotframework to trigger and mange circleci pipelines.

Usage

Install robotframework-circlecilibrary via pip:

pip install --upgrade robotframework-circlecilibrary

Now you can trigger a pipeline and wait until it is complete:

*** Settings ***
Documentation     Handle circleci pipeline example
Library           CircleciLibrary  %{CIRCLECI_API_TOKEN}

*** Test Cases ***
Trigger a circleci pipeline
    ${project}                       Create Project         github        my-org      my-project
    ${pipeline}                      Trigger Pipeline       ${project}    tag=1.0.0
    Wait Until Keyword Succeeds      2m                     2s
                                     ...                    Check If Workflows Completed With Status
                                                            ...    ${pipeline}    status=success

Development

Run the setup to install all dependencies.

./setup.py install

Build and Run

Run Tests

To run the tests you need to install tox in the first place:

pip3 install tox

After that you can run the test via tox:

tox

License

robotframework-circlecilibrary is open source software provided under the Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-circlecilibrary-0.0.3.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page