Skip to content

doctests: re-add set/get example #46

doctests: re-add set/get example

doctests: re-add set/get example #46

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/setup-node@v2.3.0
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