From 81c71e67c7722e29b3542e68506594f3ced042a1 Mon Sep 17 00:00:00 2001 From: Dmytro Pustovit Date: Sat, 22 Jan 2022 18:29:49 +0200 Subject: [PATCH] Chore: adds redis to npt tests --- .github/workflows/npt.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/npt.yml b/.github/workflows/npt.yml index 16dca17..86437d2 100644 --- a/.github/workflows/npt.yml +++ b/.github/workflows/npt.yml @@ -19,9 +19,19 @@ jobs: name: package-tests path: tmp test: + services: + redis: + image: redis + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 runs-on: ${{ matrix.os }} env: YARGS_MIN_NODE_VERSION: ${{ matrix.node }} + REDIS_HOST: redis + REDIS_PORT: 6379 strategy: matrix: os: [ macos-latest, windows-latest, ubuntu-latest ]