...

Text file src/github.com/redis/go-redis/v9/.github/workflows/test-redis-enterprise.yml

Documentation: github.com/redis/go-redis/v9/.github/workflows

     1name: RE Tests
     2
     3on:
     4  push:
     5    branches: [master, v9, v9.7, v9.8]
     6  pull_request:
     7
     8permissions:
     9  contents: read
    10
    11jobs:
    12  build:
    13    name: build
    14    runs-on: ubuntu-latest
    15    strategy:
    16      fail-fast: false
    17      matrix:
    18        go-version: [1.24.x]
    19        re-build: ["7.4.2-54"]
    20
    21    steps:
    22      - name: Checkout code
    23        uses: actions/checkout@v5
    24
    25      - name: Clone Redis EE docker repository
    26        uses: actions/checkout@v5
    27        with:
    28          repository: RedisLabs/redis-ee-docker
    29          path: redis-ee
    30
    31      - name: Set up ${{ matrix.go-version }}
    32        uses: actions/setup-go@v6
    33        with:
    34          go-version: ${{ matrix.go-version }}
    35
    36      - name: Build cluster
    37        working-directory: redis-ee
    38        env:
    39          IMAGE: "redislabs/redis:${{ matrix.re-build }}"
    40          RE_USERNAME: test@test.com
    41          RE_PASS: 12345
    42          RE_CLUSTER_NAME: re-test
    43          RE_USE_OSS_CLUSTER: false
    44          RE_DB_PORT: 6379
    45        run: ./build.sh
    46
    47      - name: Test
    48        env:
    49          RE_CLUSTER: true
    50          REDIS_VERSION: "7.4"
    51        run: |
    52          go test \
    53          --ginkgo.skip-file="ring_test.go" \
    54          --ginkgo.skip-file="sentinel_test.go" \
    55          --ginkgo.skip-file="osscluster_test.go" \
    56          --ginkgo.skip-file="pubsub_test.go" \
    57          --ginkgo.label-filter='!NonRedisEnterprise'

View as plain text