1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

use dockers for tests, fix some bugs

This commit is contained in:
leibale
2021-11-01 11:30:25 -04:00
parent f6f9b3dccd
commit 5cff3320d2
240 changed files with 2125 additions and 2047 deletions

View File

@@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
redis-version: [5.x, 6.0.x, 6.2.x]
redis-version: [5, 6.0, 6.2]
steps:
- uses: actions/checkout@v2.3.4
@@ -25,17 +25,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Setup Redis
uses: shogo82148/actions-setup-redis@v1.12.0
with:
redis-version: ${{ matrix.redis-version }}
auto-start: "false"
- name: Install Packages
run: npm ci
- name: Run Tests
run: npm run test
run: npm run test -- --forbid-only --redis-version=${{ matrix.redis-version }}
- name: Generate lcov
run: ./node_modules/.bin/nyc report -r lcov