mirror of
https://github.com/redis/go-redis.git
synced 2025-09-11 18:10:43 +03:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
name: RE Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [master, v9, v9.7, v9.8]
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: build
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go-version: [1.24.x]
|
|
re-build: ["7.4.2-54"]
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Clone Redis EE docker repository
|
|
uses: actions/checkout@v5
|
|
with:
|
|
repository: RedisLabs/redis-ee-docker
|
|
path: redis-ee
|
|
|
|
- name: Set up ${{ matrix.go-version }}
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Build cluster
|
|
working-directory: redis-ee
|
|
env:
|
|
IMAGE: "redislabs/redis:${{ matrix.re-build }}"
|
|
RE_USERNAME: test@test.com
|
|
RE_PASS: 12345
|
|
RE_CLUSTER_NAME: re-test
|
|
RE_USE_OSS_CLUSTER: false
|
|
RE_DB_PORT: 6379
|
|
run: ./build.sh
|
|
|
|
- name: Test
|
|
env:
|
|
RE_CLUSTER: true
|
|
REDIS_VERSION: "7.4"
|
|
run: |
|
|
go test \
|
|
--ginkgo.skip-file="ring_test.go" \
|
|
--ginkgo.skip-file="sentinel_test.go" \
|
|
--ginkgo.skip-file="osscluster_test.go" \
|
|
--ginkgo.skip-file="pubsub_test.go" \
|
|
--ginkgo.label-filter='!NonRedisEnterprise'
|