Skip to content

Commit

Permalink
Add doctests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed Nov 22, 2024
1 parent 8954f8e commit ce70de4
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/doctests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Documentation Tests

on:
push:
tags-ignore:
- '*'
branches:
- 'doctests'
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:
- name: Checkout project
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Run doctests
run: |
mvn -Pdoctests test

0 comments on commit ce70de4

Please sign in to comment.