Skip to content

Commit

Permalink
Chore: adds redis to npt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Jan 22, 2022
1 parent 46bcb5b commit 81c71e6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/npt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit 81c71e6

Please sign in to comment.