File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# This script runs the tests on Heroku CI
3
3
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
+
4
7
# Run the CumulusCI Unit Tests
5
8
git clone -b " $HEROKU_TEST_RUN_BRANCH " --single-branch https://github.com/SalesforceFoundation/CumulusCI
6
9
cd CumulusCI
7
10
git reset --hard $HEROKU_TEST_RUN_COMMIT_VERSION
8
11
nosetests --with-tap --tap-stream --with-coverage --cover-package=cumulusci
9
12
10
- pip install -r requirements_dev.txt
11
-
12
13
# Clone the CumulusCI-Test repo to run test builds against it with cci
13
14
echo " ------------------------------------------"
14
15
echo " Running test builds against CumulusCI-Test"
61
62
fi
62
63
63
64
# Combine the CumulusCI-Test test coverage with the nosetest coverage
65
+ echo " Combining .coverage files"
64
66
cd ..
65
67
coverage combine .coverage CumulusCI-Test/.coverage
66
68
You can’t perform that action at this time.
0 commit comments