add ci step for new format enginetests

This commit is contained in:
Andy Arthur
2022-03-29 10:50:13 -07:00
parent a0fb901bca
commit 8bc1cd0dac
@@ -1,4 +1,4 @@
name: Test New Format
name: New Format Enginetests
on:
pull_request:
@@ -26,35 +26,9 @@ jobs:
id: go
- uses: actions/checkout@v2
- name: Test All with New Format
# allow unittests to fail with new format
continue-on-error: true
working-directory: ./go
run: |
files=$(go list ./...)
SAVEIFS=$IFS
IFS=$'\n'
file_arr=($files)
IFS=$SAVEIFS
file_list=
for (( i=0; i<${#file_arr[@]}; i++ ))
do
echo "Testing Package: ${file_arr[$i]}"
if [ "$MATRIX_OS" == 'ubuntu-18.04' ]
then
go test -timeout 30m -race "${file_arr[$i]}"
else
go test -timeout 30m "${file_arr[$i]}"
fi
succeeded=$(echo "$?")
if [ "$succeeded" -ne 0 ]; then
echo "Testing failed in package ${file_arr[$i]}"
exit 1;
fi
done
go test -timeout 30m "./libraries/doltcore/sqle/enginetest/dolt_engine_test.go"
env:
MATRIX_OS: ${{ matrix.os }}
DOLT_FORMAT_FEATURE_FLAG: "true"