mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-21 19:39:04 -05:00
add ci step for new format enginetests
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user