Merge pull request #1556 from pypa/tap

Tap Output for Builds
This commit is contained in:
2018-03-05 16:39:54 -05:00
committed by GitHub
2 changed files with 14 additions and 1 deletions
+2
View File
@@ -24,3 +24,5 @@ test_project
/test/
/results.tap
/report.tap
Regular → Executable
+12 -1
View File
@@ -17,8 +17,19 @@ if [[ ! -z "$CI" ]]; then
export RAM_DISK
echo "Installing Pipenv…"
pip install -e . --upgrade --upgrade-strategy=only-if-needed
pipenv install --deploy --system --dev
else
echo "Using RAM disk (assuming MacOS)…"
diskutil erasevolume HFS+ 'RAMDisk' $(hdiutil attach -nomount ram://8388608)
RAM_DISK="/Volumes/RAMDisk"
export RAM_DISK
pipenv install --dev
fi
pipenv run time pytest -v -n auto tests -m "$TEST_SUITE" --tap-stream
pipenv run time pytest -v -n auto tests -m "$TEST_SUITE" --tap-stream | tee report.tap