Files
storage/.github/workflows/test-mongodb.yml
2025-04-09 14:03:46 +02:00

32 lines
791 B
YAML

on:
push:
branches:
- master
- main
paths:
- 'mongodb/**'
pull_request:
paths:
- 'mongodb/**'
name: "Tests Mongodb"
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.23.x
- 1.24.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_MONGODB_IMAGE: docker.io/mongo:7
run: cd ./mongodb && go test ./... -v -race