Skip to content

DOC-4345 added testable JSON index/query example #89

DOC-4345 added testable JSON index/query example

DOC-4345 added testable JSON index/query example #89

Workflow file for this run

name: Documentation Tests
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
doctests:
runs-on: ubuntu-latest
services:
redis-stack:
image: redis/redis-stack-server:latest
options: >-
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: 18
- name: Install Packages
run: npm ci
- name: Build
run: npm run build-all
- run: |
sudo apt update
sudo apt install -y redis-tools
- name: install doctest deps
run: |
npm install
working-directory: doctests
- name: run tests
run: |
sh run_examples.sh
working-directory: doctests