Skip to content

Commit

Permalink
Separate documentation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Mar 4, 2024
1 parent f9195ac commit cb2e9c7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: test documentation

on: [ push, pull_request ]

jobs:
tests:
name: test-documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test if the documentation will render without warnings
run: |
mkdir -p Documentation-GENERATED-temp \
&& docker run --rm --pull always -v $(pwd):/project \
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log
15 changes: 1 addition & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
name: test documentation
name: Tests

on: [ push, pull_request ]

jobs:
test-documentation:
name: Test documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test if the documentation will render without warnings
run: |
mkdir -p Documentation-GENERATED-temp \
&& docker run --rm --pull always -v $(pwd):/project \
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log
lint:
name: Lint PHP files
runs-on: ubuntu-latest
Expand Down

0 comments on commit cb2e9c7

Please sign in to comment.