Skip to content

Commit

Permalink
chore: Remove redis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Dec 7, 2023
1 parent e86f4be commit afd8b2e
Showing 1 changed file with 0 additions and 89 deletions.
89 changes: 0 additions & 89 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,95 +201,6 @@ jobs:
env:
NODE_OPTIONS: --max_old_space_size=4096

integration-redis:
needs: [unit, lint, latest-tag-sha]
runs-on: ubuntu-20.04
timeout-minutes: 60
if: (needs['latest-tag-sha'].outputs.sha != github.sha)

services:
redis:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
node-version: [16.x]
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-03-22
override: true
components: rustfmt
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
shell: bash
- name: Restore yarn cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Set Yarn version
run: yarn policies set-version v1.22.19
- name: Yarn install
uses: nick-invision/retry@v2
env:
CUBESTORE_SKIP_POST_INSTALL: true
with:
max_attempts: 3
retry_on: error
retry_wait_seconds: 15
timeout_minutes: 20
command: yarn install --frozen-lockfile
- name: Lerna tsc
run: yarn tsc
- name: Run Redis Integration with Redis Driver
timeout-minutes: 10
run: |
yarn lerna run --concurrency 1 --stream --no-prefix integration:redis
env:
CUBEJS_REDIS_USE_IOREDIS: false
- name: Run Redis Integration with IORedis Driver
timeout-minutes: 10
run: |
yarn lerna run --concurrency 1 --stream --no-prefix integration:redis
env:
CUBEJS_REDIS_USE_IOREDIS: true
- name: Setup Redis Cluster
uses: vishnudxb/redis-cluster@1.0.5
with:
master1-port: 5000
master2-port: 5001
master3-port: 5002
slave1-port: 5003
slave2-port: 5004
slave3-port: 5005
- name: Run Redis Integration with Cluster
timeout-minutes: 10
run: |
yarn lerna run --concurrency 1 --stream --no-prefix integration:redis
env:
CUBEJS_REDIS_USE_IOREDIS: true
CUBEJS_REDIS_SENTINEL: "redis+sentinel://localhost:5000,localhost:5001,localhost:5002/mymaster/0"

integration-cubestore:
needs: [latest-tag-sha]
runs-on: ubuntu-20.04
Expand Down

0 comments on commit afd8b2e

Please sign in to comment.