Skip to content

Commit 014a446

Browse files
committed
CI: Fix broken dita jobs
1 parent efffb70 commit 014a446

File tree

2 files changed

+18
-37
lines changed

2 files changed

+18
-37
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/tests.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,28 @@ jobs:
6060
- name: Unit tests
6161
run: bundle exec rake tests:unit
6262

63+
run-dita:
64+
runs-on: ubuntu-24.04
65+
66+
steps:
67+
- name: Initialize
68+
uses: actions/checkout@v4
69+
- name: Setup Ruby
70+
uses: ruby/setup-ruby@v1
71+
with:
72+
ruby-version: 3.3
73+
bundler-cache: true
74+
- name: Generate docs
75+
run: bundle exec rake docs:all
76+
- name: Docs test
77+
uses: dita-ot/[email protected]
78+
with:
79+
build: dita -i documentation/bolt.ditamap -o out -f html5 --processing-mode=strict
6380
tests:
6481
needs:
6582
- rubocop_and_matrix
6683
- unit
84+
- run-dita
6785
runs-on: ubuntu-24.04
6886
name: Test suite
6987
steps:

0 commit comments

Comments
 (0)