Merge pull request #1508 from mdelapenya/tc-go-adoption #96
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
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'couchbase/**' | |
pull_request: | |
paths: | |
- 'couchbase/**' | |
name: "Tests Couchbase" | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- 1.21.x | |
- 1.22.x | |
- 1.23.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_COUCHBASE_IMAGE: couchbase:enterprise-7.1.1 | |
run: cd ./couchbase && go test ./... -v -race |