Introduces test matrix based on Redis versions [8.0-M1, 7.4.1, 7.2.6, 6.2.16] #1582
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation Tests | |
on: | |
push: | |
tags-ignore: | |
- '*' | |
branches: | |
- 'emb-examples' | |
pull_request: | |
workflow_dispatch: | |
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 | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.m2/repository | |
/var/cache/apt | |
key: jedis-${{hashFiles('**/pom.xml')}} | |
- name: Set up Java | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Run doctests | |
run: | | |
mvn -Pdoctests test |