Skip to content

Commit 374197d

Browse files
committed
Add test workflow
1 parent 6c66d87 commit 374197d

File tree

2 files changed

+48
-28
lines changed

2 files changed

+48
-28
lines changed

.github/workflows/test.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
test:
10+
name: build themes
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 --theme cerulean --site-dir=${{ runner.temp }}/cerulean
30+
mkdocs build -v --strict --theme cosmo --site-dir=${{ runner.temp }}/cosmo
31+
mkdocs build -v --strict --theme cyborg --site-dir=${{ runner.temp }}/cyborg
32+
mkdocs build -v --strict --theme darkly --site-dir=${{ runner.temp }}/darkly
33+
mkdocs build -v --strict --theme flatly --site-dir=${{ runner.temp }}/flatly
34+
mkdocs build -v --strict --theme journal --site-dir=${{ runner.temp }}/journal
35+
mkdocs build -v --strict --theme litera --site-dir=${{ runner.temp }}/litera
36+
mkdocs build -v --strict --theme lumen --site-dir=${{ runner.temp }}/lumen
37+
mkdocs build -v --strict --theme lux --site-dir=${{ runner.temp }}/lux
38+
mkdocs build -v --strict --theme materia --site-dir=${{ runner.temp }}/materia
39+
mkdocs build -v --strict --theme minty --site-dir=${{ runner.temp }}/minty
40+
mkdocs build -v --strict --theme pulse --site-dir=${{ runner.temp }}/pulse
41+
mkdocs build -v --strict --theme sandstone --site-dir=${{ runner.temp }}/sandstone
42+
mkdocs build -v --strict --theme simplex --site-dir=${{ runner.temp }}/simplex
43+
mkdocs build -v --strict --theme slate --site-dir=${{ runner.temp }}/slate
44+
mkdocs build -v --strict --theme solar --site-dir=${{ runner.temp }}/solar
45+
mkdocs build -v --strict --theme spacelab --site-dir=${{ runner.temp }}/spacelab
46+
mkdocs build -v --strict --theme superhero --site-dir=${{ runner.temp }}/superhero
47+
mkdocs build -v --strict --theme united --site-dir=${{ runner.temp }}/united
48+
mkdocs build -v --strict --theme yeti --site-dir=${{ runner.temp }}/yeti

tox.ini

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

0 commit comments

Comments
 (0)