Skip to content

Commit

Permalink
PMM-7 fix podman tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Jan 11, 2025
1 parent 07df3de commit 76e0c2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/podman-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- v3
pull_request:
paths:
- 'documentation/docs/install-pmm/install-pmm-server/baremetal/podman.md'
- 'documentation/docs/install-pmm/install-pmm-server/baremetal/podman/index.md'

workflow_dispatch:

Expand All @@ -16,21 +16,21 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1

- name: Install pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb
curl -O -sSfL https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb
sudo apt-get install -y ./pandoc-2.18-1-amd64.deb
rm pandoc-2.18-1-amd64.deb
- name: Copy test template
run: cp documentation/resources/bin/doc_test_template.sh ./documentation/docs_test_podman.sh

- name: Get CodeBlocks and push them to test template
run: pandoc -i documentation/docs/install-pmm/install-pmm-server/baremetal/podman.md --lua-filter documentation/resources/bin/CodeBlock.lua -t html -o /dev/null >> documentation/docs_test_podman.sh
run: pandoc -i documentation/docs/install-pmm/install-pmm-server/baremetal/podman/index.md --lua-filter documentation/resources/bin/CodeBlock.lua -t html -o /dev/null >> documentation/docs_test_podman.sh

- name: Run podman tests
run: ./documentation/docs_test_podman.sh
Expand Down

0 comments on commit 76e0c2e

Please sign in to comment.