Skip to content

Commit 3b0893c

Browse files
committed
Add test workflow
1 parent 0022dc2 commit 3b0893c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
test:
10+
name: build theme
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
python-version:
15+
["3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9", "pypy-3.10"]
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Setup Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip setuptools
26+
python -m pip install .
27+
- name: Build Themes
28+
run: |
29+
mkdocs build -v --strict

0 commit comments

Comments
 (0)