Merge branch 'Jenkins/experiment' of github.com:status-im/open-bounty into Jenkins/experiment
This commit is contained in:
commit
8435dc5425
|
@ -297,7 +297,11 @@ class GithubPage(BasePageObject):
|
||||||
repo = git.Repo(self.local_repo_path)
|
repo = git.Repo(self.local_repo_path)
|
||||||
logging.info(repo.git.status())
|
logging.info(repo.git.status())
|
||||||
logging.info(repo.git.pull('upstream', 'master'))
|
logging.info(repo.git.pull('upstream', 'master'))
|
||||||
logging.info(repo.git.push('origin', 'master'))
|
repo_url = 'https://%s:%s@github.com/%s/%s.git' % (test_data.config['DEV']['gh_username'],
|
||||||
|
test_data.config['DEV']['gh_password'], test_data.config['DEV']['gh_username'], test_data.config['ORG']['gh_repo_name'])
|
||||||
|
|
||||||
|
logging.info('Pushing to %s' % repo_url)
|
||||||
|
logging.info(repo.git.push(repo_url))
|
||||||
logging.info(repo.git.fetch('--all'))
|
logging.info(repo.git.fetch('--all'))
|
||||||
repo.git.checkout('-b', branch)
|
repo.git.checkout('-b', branch)
|
||||||
file = open(os.path.join(self.local_repo_path, file_to_modify), 'w')
|
file = open(os.path.join(self.local_repo_path, file_to_modify), 'w')
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
norecursedirs = .git pages
|
norecursedirs = .git pages
|
||||||
addopts = -s -v --junitxml=results/result.xml --tb=short --env=local
|
addopts = -s -v --junitxml=results/result.xml --tb=short
|
||||||
|
|
Loading…
Reference in New Issue