Make sure dolt_tests system table changes show up in dolt diff by default
#18177
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Compatibility | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - 'go/**' | |
| - 'integration-tests/**' | |
| concurrency: | |
| group: ci-compatibility-tests-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Compatibility Test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ ubuntu-22.04 ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go 1.x | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go/go.mod | |
| id: go | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ^16 | |
| - name: Create CI Bin | |
| run: | | |
| mkdir -p ./.ci_bin | |
| echo "$(pwd)/.ci_bin" >> $GITHUB_PATH | |
| - name: Install Bats | |
| run: | | |
| npm i bats | |
| echo "$(pwd)/node_modules/.bin" >> $GITHUB_PATH | |
| working-directory: ./.ci_bin | |
| - name: Install Dolt | |
| working-directory: ./go | |
| run: | | |
| go build -mod=readonly -o ../.ci_bin/dolt ./cmd/dolt/. | |
| - name: Setup Dolt Config | |
| run: | | |
| dolt config --global --add user.name 'DoltHub Actions' | |
| dolt config --global --add user.email '[email protected]' | |
| - name: Test all | |
| run: ./runner.sh | |
| working-directory: ./integration-tests/compatibility |