Use testcontainers to spawn MySQL server container in unit tests. #954
This file contains 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: CI | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Build | |
run: script/cibuild | |
- name: Upload gh-ost binary artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: gh-ost | |
path: bin/gh-ost |