.github: Add __DOLT_DEV__ testing to GitHub CI.

This commit is contained in:
Aaron Son
2022-04-05 11:45:38 -07:00
parent c3418f17d2
commit de2fcbad6a
3 changed files with 19 additions and 1 deletions
+7
View File
@@ -18,6 +18,10 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-18.04, macos-10.15 ]
dolt_fmt: [ "", "__DOLT_DEV__" ]
exclude:
- os: "macos-10.15"
dolt_fmt: "__DOLT_DEV__"
env:
use_credentials: ${{ secrets.AWS_SECRET_ACCESS_KEY != '' && secrets.AWS_ACCESS_KEY_ID != '' }}
steps:
@@ -86,6 +90,9 @@ jobs:
- name: Check expect
run: expect -v
- name: Test all Unix
env:
DOLT_FMT: ${{ maxtrix.dolt_fmt }}
run: |
if [ -n "$DOLT_FMT" ]; then export DOLT_DEFAULT_BIN_FORMAT="$DOLT_FMT"; fi
bats --tap .
working-directory: ./integration-tests/bats
+12
View File
@@ -18,6 +18,10 @@ jobs:
fail-fast: false
matrix:
os: [macos-10.15, ubuntu-18.04, windows-latest]
dolt_fmt: [ "" ]
include:
- os: "ubuntu-18.04"
dolt_fmt: "__DOLT_DEV__"
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
@@ -28,6 +32,7 @@ jobs:
- name: Test All
working-directory: ./go
run: |
if [ -n "$DOLT_FMT" ]; then export DOLT_DEFAULT_BIN_FORMAT="$DOLT_FMT"; fi
files=$(go list ./...)
SAVEIFS=$IFS
@@ -55,6 +60,7 @@ jobs:
done
env:
MATRIX_OS: ${{ matrix.os }}
DOLT_FMT: ${{ matrix.dolt_fmt }}
noracetest:
name: Go tests - no race
defaults:
@@ -65,6 +71,10 @@ jobs:
fail-fast: false
matrix:
os: [macos-10.15, ubuntu-18.04, windows-latest]
dolt_fmt: [ "" ]
include:
- os: "ubuntu-18.04"
dolt_fmt: "__DOLT_DEV__"
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
@@ -75,8 +85,10 @@ jobs:
- name: Test All
working-directory: ./go
run: |
if [ -n "$DOLT_FMT" ]; then export DOLT_DEFAULT_BIN_FORMAT="$DOLT_FMT"; fi
go test -timeout 30m ./libraries/doltcore/sqle/altertests
go test -timeout 30m ./libraries/doltcore/sqle/integration_test
env:
DOLT_FMT: ${{ matrix.dolt_fmt }}
MATRIX_OS: ${{ matrix.os }}
DOLT_TEST_RUN_NON_RACE_TESTS: "true"