Skip to content

Commit 89e1631

Browse files
committed
try to add unit tests and xmllint step
1 parent 195e400 commit 89e1631

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,36 @@ jobs:
135135
*.css
136136
137137
138+
other-tests:
139+
runs-on: ubuntu-latest
140+
strategy:
141+
steps:
142+
- uses: actions/checkout@v4
143+
144+
- name: Install apt stuff and other dependencies
145+
shell: bash
146+
run: |
147+
sudo apt update -y
148+
sudo apt install -y \
149+
asciidoctor \
150+
language-pack-en \
151+
ruby-coderay \
152+
ruby-pygments.rb \
153+
tree \
154+
xmllint
155+
pip install uv
156+
157+
- name: Install Python requirements.txt into virtualenv
158+
shell: bash
159+
run: |
160+
make .venv/bin
161+
162+
- name: Run unit tests
163+
shell: bash
164+
run: |
165+
make unit-test
166+
167+
- name: Run xml linter
168+
shell: bash
169+
run: |
170+
make xmllint_book

0 commit comments

Comments
 (0)