Skip to content

Commit

Permalink
Add GHA job to validate injected documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Oct 2, 2024
1 parent 9aa32d9 commit 279e99b
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Run Documentation Validation
on: pull_request

jobs:
run-docs-validation:
test-templated-docs:
runs-on: ubuntu-latest
defaults:
run:
Expand Down Expand Up @@ -45,3 +45,31 @@ jobs:

- name: clean up
run: rm -rf tmp

test-injected-docs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .ansible/collections/ansible_collections/linode/cloud
steps:
- name: checkout repo
uses: actions/checkout@v3
with:
path: .ansible/collections/ansible_collections/linode/cloud

- name: update packages
run: sudo apt-get update -y

- name: install packages
run: sudo apt-get install -y make

- name: setup python 3
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: install dependencies
run: make deps

- name: inject and validate new docs
run: make inject

0 comments on commit 279e99b

Please sign in to comment.