Files
storage/.github/workflows/test-teshelpers-redis.yml
2025-12-11 07:59:23 +00:00

36 lines
762 B
YAML

on:
push:
branches:
- master
- main
paths:
- 'testhelpers/redis/**'
pull_request:
paths:
- 'testhelpers/redis/**'
workflow_dispatch:
name: "Tests TestHelper Redis"
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.24.x
- 1.25.x
redis:
- '7'
- '8'
steps:
- name: Fetch Repository
uses: actions/checkout@v6
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_REDIS_IMAGE: "docker.io/redis:${{ matrix.redis }}"
working-directory: testhelpers/redis
run: go test ./... -v -race