Skip to content

chore: adopt testcontainers-go for Postgres, MySQL, MSSQL and MongoDB #2205

chore: adopt testcontainers-go for Postgres, MySQL, MSSQL and MongoDB

chore: adopt testcontainers-go for Postgres, MySQL, MSSQL and MongoDB #2205

Workflow file for this run

on:
push:
branches:
- master
- main
paths:
- 'mysql/**'
pull_request:
paths:
- 'mysql/**'
name: "Tests MySQL"
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.20.x
- 1.21.x
- 1.22.x
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_MYSQL_IMAGE: docker.io/mysql:9
run: cd ./mysql && go test ./... -v -race