File tree Expand file tree Collapse file tree 3 files changed +62
-121
lines changed Expand file tree Collapse file tree 3 files changed +62
-121
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ services :
4
+
5
+ redis :
6
+ image : ${CLIENT_LIBS_TEST_IMAGE:-redislabs/client-libs-test:8.0-M01}
7
+ container_name : redis-standalone
8
+ environment :
9
+ - TLS_ENABLED=yes
10
+ - REDIS_CLUSTER=no
11
+ - PORT=6379
12
+ - TLS_PORT=6666
13
+ command : ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
14
+ ports :
15
+ - 6379:6379
16
+ - 6380:6379
17
+ - 6666:6666 # TLS port
18
+ volumes :
19
+ - " ./dockers/standalone:/redis/work"
20
+ profiles :
21
+ - standalone
22
+ - all
Original file line number Diff line number Diff line change 42
42
uses : codecov/codecov-action@v4
43
43
with :
44
44
files : coverage.txt
45
- token : ${{ secrets.CODECOV_TOKEN }}
45
+ token : ${{ secrets.CODECOV_TOKEN }}
46
+
47
+ test-redis-ce :
48
+ name : test-redis-ce
49
+ runs-on : ubuntu-latest
50
+ strategy :
51
+ fail-fast : false
52
+ matrix :
53
+ redis_version :
54
+ - " 8.0-M01"
55
+ # - "7.4.1"
56
+ # - "7.2.6"
57
+ # - "6.2.16"
58
+ go-version :
59
+ - " 1.19.x"
60
+ - " 1.20.x"
61
+ - " 1.21.x"
62
+
63
+ steps :
64
+ - name : Set up ${{ matrix.go-version }}
65
+ uses : actions/setup-go@v5
66
+ with :
67
+ go-version : ${{ matrix.go-version }}
68
+
69
+ - name : Checkout code
70
+ uses : actions/checkout@v4
71
+
72
+ # Set up Docker Compose environment
73
+ - name : Set up Docker Compose environment
74
+ run : |
75
+ docker compose -f src/test/resources/env/docker-compose.yml up -d
76
+
77
+ - name : Run tests
78
+ run : |
79
+ go test \
80
+ --ginkgo.skip-file="ring_test.go" \
81
+ --ginkgo.skip-file="sentinel_test.go" \
82
+ --ginkgo.skip-file="osscluster_test.go" \
83
+ --ginkgo.skip-file="pubsub_test.go" \
84
+ --ginkgo.skip-file="gears_commands_test.go" \
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments