Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.
/ circleci.py Public archive

Commit

Permalink
add dummy integration step
Browse files Browse the repository at this point in the history
  • Loading branch information
levlaz committed Aug 19, 2018
1 parent 6cb4637 commit 4779c34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
- store_artifacts:
path: htmlcov/

integration:
docker:
- image: circleci/python:3.6
steps:
- run: echo "It works!"

deploy:
docker:
- image: circleci/python:3.6
Expand Down
4 changes: 2 additions & 2 deletions tests/circle/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ def setUp(self):

def test_trigger_with_build_params(self):
params = {
"build_parameters[CIRCLE_JOB]": "build"
"build_parameters[CIRCLE_JOB]": "integration"
}

resp = self.c.trigger_build('levlaz', 'circleci.py', params=params)

self.assertEqual(resp['build_parameters']['CIRCLE_JOB'], 'build')
self.assertEqual(resp['build_parameters']['CIRCLE_JOB'], 'integration')

def test_add_ssh_key(self):

Expand Down

0 comments on commit 4779c34

Please sign in to comment.