Skip to content
forked from openSUSE/gitarro

run all your test against a githubt Pull request

License

Notifications You must be signed in to change notification settings

MalloZup/gitarro

 
 

Repository files navigation

gitarro

GUNDAM image GUNDAM image

Build Status Master branch

Introduction

gitarro allow you to run tests on Git Hub Pull Requests (also known as PRs) using almost any script, language or binary and providing easy integration with other tools, and testing env. (such containers, cloud, VMS, etc.)

It can run on any system that is able to use ruby and octokit.

Install

gem install gitarro

Quickstart

  1. Create a fake test script that will run against your open Pull Request.
echo "machine api.github.com login $GITHUB_USER password $GITUB_PWD_OR_TOKEN > /~.netrc"
sudo chmod 0600 ~/.netrc
echo "#! /bin/bash" > /tmp/tests.sh
echo "exit 0" > /tmp/tests.sh
chmod +x /tmp/tests.sh
  1. Run gitarro against your GitHub project.

$YOUR_GITHUB_PROJECT=MalloZup/gitarro

gitarro.rb -r $YOUR_GITHUB_PROJECT -c "ruby-test" -g /tmp/ruby21 -t /tmp/tests.sh --https"

Documentation

About

run all your test against a githubt Pull request

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.9%
  • Shell 0.1%