Skip to content

Commit 69f4345

Browse files
committed
Use cci installed under /app and move the .git folder from
/app/CumulusCI to /app
1 parent 195e689 commit 69f4345

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

heroku_ci.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/bin/bash
22
# This script runs the tests on Heroku CI
33

4-
# Install the checked out version of CumulusCI so coverage reports are always against the same code
5-
pip install -r requirements_dev.txt
6-
7-
# Run the CumulusCI Unit Tests
4+
# Clone the Github repo to the right branch/commit to generate a .git folder for use in /app
85
git clone -b "$HEROKU_TEST_RUN_BRANCH" --single-branch https://github.com/SalesforceFoundation/CumulusCI
96
cd CumulusCI
107
git reset --hard $HEROKU_TEST_RUN_COMMIT_VERSION
8+
cd /app
9+
mv CumulusCI/.git .
10+
11+
# Run the CumulusCI Unit Tests
1112
nosetests --with-tap --tap-stream --with-coverage --cover-package=cumulusci
1213

1314
# Clone the CumulusCI-Test repo to run test builds against it with cci

0 commit comments

Comments
 (0)