Skip to content

Commit afd8b2e

Browse files
committed
chore: Remove redis tests
1 parent e86f4be commit afd8b2e

File tree

1 file changed

+0
-89
lines changed

1 file changed

+0
-89
lines changed

.github/workflows/push.yml

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -201,95 +201,6 @@ jobs:
201201
env:
202202
NODE_OPTIONS: --max_old_space_size=4096
203203

204-
integration-redis:
205-
needs: [unit, lint, latest-tag-sha]
206-
runs-on: ubuntu-20.04
207-
timeout-minutes: 60
208-
if: (needs['latest-tag-sha'].outputs.sha != github.sha)
209-
210-
services:
211-
redis:
212-
image: redis
213-
ports:
214-
- 6379:6379
215-
options: >-
216-
--health-cmd "redis-cli ping"
217-
--health-interval 10s
218-
--health-timeout 5s
219-
--health-retries 5
220-
221-
strategy:
222-
matrix:
223-
node-version: [16.x]
224-
fail-fast: false
225-
226-
steps:
227-
- name: Checkout
228-
uses: actions/checkout@v4
229-
- name: Install Rust
230-
uses: actions-rs/toolchain@v1
231-
with:
232-
toolchain: nightly-2022-03-22
233-
override: true
234-
components: rustfmt
235-
- name: Install Node.js ${{ matrix.node-version }}
236-
uses: actions/setup-node@v3
237-
with:
238-
node-version: ${{ matrix.node-version }}
239-
- name: Get yarn cache directory path
240-
id: yarn-cache-dir-path
241-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
242-
shell: bash
243-
- name: Restore yarn cache
244-
uses: actions/cache@v3
245-
with:
246-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
247-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
248-
restore-keys: |
249-
${{ runner.os }}-yarn-
250-
- name: Set Yarn version
251-
run: yarn policies set-version v1.22.19
252-
- name: Yarn install
253-
uses: nick-invision/retry@v2
254-
env:
255-
CUBESTORE_SKIP_POST_INSTALL: true
256-
with:
257-
max_attempts: 3
258-
retry_on: error
259-
retry_wait_seconds: 15
260-
timeout_minutes: 20
261-
command: yarn install --frozen-lockfile
262-
- name: Lerna tsc
263-
run: yarn tsc
264-
- name: Run Redis Integration with Redis Driver
265-
timeout-minutes: 10
266-
run: |
267-
yarn lerna run --concurrency 1 --stream --no-prefix integration:redis
268-
env:
269-
CUBEJS_REDIS_USE_IOREDIS: false
270-
- name: Run Redis Integration with IORedis Driver
271-
timeout-minutes: 10
272-
run: |
273-
yarn lerna run --concurrency 1 --stream --no-prefix integration:redis
274-
env:
275-
CUBEJS_REDIS_USE_IOREDIS: true
276-
- name: Setup Redis Cluster
277-
uses: vishnudxb/[email protected]
278-
with:
279-
master1-port: 5000
280-
master2-port: 5001
281-
master3-port: 5002
282-
slave1-port: 5003
283-
slave2-port: 5004
284-
slave3-port: 5005
285-
- name: Run Redis Integration with Cluster
286-
timeout-minutes: 10
287-
run: |
288-
yarn lerna run --concurrency 1 --stream --no-prefix integration:redis
289-
env:
290-
CUBEJS_REDIS_USE_IOREDIS: true
291-
CUBEJS_REDIS_SENTINEL: "redis+sentinel://localhost:5000,localhost:5001,localhost:5002/mymaster/0"
292-
293204
integration-cubestore:
294205
needs: [latest-tag-sha]
295206
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)