Doc 2599 - Configure Redpanda with a Customer-Managed Key #277
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: Run doc tests | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
repository_dispatch: | |
types: [trigger-tests] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
console: ${{ steps.filter.outputs.console }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Determine changed paths | |
id: filter | |
uses: dorny/paths-filter@v3 | |
with: | |
filters: | | |
console: | |
- 'modules/console/**' | |
run-tests: | |
needs: setup | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: write | |
strategy: | |
fail-fast: false # Ensure all matrix jobs run to completion even if one fails | |
matrix: | |
os: [ubuntu-latest] # Only using Linux for now since macOS takes a long time | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Test docs | |
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'repository_dispatch' }} | |
run: npm i && npm run test-docs | |
working-directory: setup-tests | |
- name: Test Console docs | |
if: needs.setup.outputs.console == 'true' | |
run: npm i && npm run test-console-docs | |
working-directory: setup-tests |