Skip to content

Commit

Permalink
Add ability to save results of tests in the cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Sep 26, 2023
1 parent 0e90cbc commit 3f9153c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ baseDir=$HOME/work/StereoPipeline
installDir=$baseDir/install
envPath=/usr/local/miniconda/envs/asp_deps
# packageDir will later be uploaded, as set in the yml file
packageDir=$baseDir/packages
packageDir=$baseDir/packages
testDir=$baseDir/StereoPipelineTest

# Build visionworkbench
Expand Down Expand Up @@ -59,7 +59,7 @@ cd BinaryBuilder
mkdir -p $packageDir
mv -fv Stereo* $packageDir

# Extract the tarball
# Extract the tarball so we can test it
cd $packageDir
tarBall=$(ls StereoPipeline-*OSX.tar.bz2)
if [ "$tarBall" == "" ]; then
Expand Down Expand Up @@ -117,4 +117,8 @@ else
echo "Some tests failed"
exit 1
fi


# Save the resulting test results as part of the artifacts
# This helps with debugging later
mkdir -p $packageDir
cp -rfv $testDir $packageDir

0 comments on commit 3f9153c

Please sign in to comment.