Skip to content

Commit

Permalink
Add docs CI test and ignore docs folder in other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej committed Aug 2, 2024
1 parent 4c0c6ff commit 5409a5f
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand All @@ -24,6 +25,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/workflows/Android.yml"
Expand All @@ -23,6 +24,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/workflows/Android.yml"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand All @@ -24,6 +25,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Docs Test

on:
workflow_dispatch:
push:
branches:
- main
tags:
- "**"
paths:
- "src/**"
- "docs/**"

pull_request:
branches:
- main
paths:
- "src/**"
- "docs/**"

jobs:
doxygen:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Install Doxygen
uses: ssciwr/doxygen-install@v1
with:
version: "1.10.0"

- name: Generate documentation
working-directory: docs
run: doxygen
2 changes: 2 additions & 0 deletions .github/workflows/iOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand All @@ -24,6 +25,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand All @@ -24,6 +25,7 @@ on:
paths-ignore:
- ".gitignore"
- "README.md"
- "docs/**"
# ignore CI for other platforms
- ".github/FUNDING.yml"
- ".github/actions/**"
Expand Down

0 comments on commit 5409a5f

Please sign in to comment.