Skip to content

Commit d9ff65f

Browse files
self test 3rd party plugins fix (#30)
1 parent 50813e1 commit d9ff65f

6 files changed

Lines changed: 48 additions & 54 deletions

File tree

.github/workflows/workflow.ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
run: poetry build --verbose
117117

118118
- name: Test MkDocs build
119-
run: poetry run mkdocs build --verbose
119+
run: poetry run mkdocs build --verbose --config-file mkdocs.yml
120120

121121
test-plugins:
122122
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.draft }}
@@ -140,7 +140,7 @@ jobs:
140140
- name: Install dependencies
141141
run: |
142142
poetry self add "poetry-dynamic-versioning[plugin]"
143-
poetry install --verbose --without=dev
143+
poetry install --verbose --with=dev
144144
145145
- name: Test Build
146146
run: poetry build --verbose

mkdocs.base.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
11
site_name: Test Site
2-
3-
theme:
4-
name: material
5-
features:
6-
- navigation.instant
7-
- navigation.indexes
8-
- navigation.tracking
9-
- navigation.top
10-
- content.tooltips
11-
- search.suggest
12-
- search.highlight
13-
- search.share
14-
- navigation.tabs
15-
- navigation.tabs.sticky

mkdocs.plugins.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
INHERIT: mkdocs.base.yml
22

3-
#! dev_addr: 127.0.0.1:1357
3+
theme:
4+
name: material
5+
features:
6+
- navigation.instant
7+
- navigation.indexes
8+
- navigation.tracking
9+
- navigation.top
10+
- content.tooltips
11+
- search.suggest
12+
- search.highlight
13+
- search.share
14+
- navigation.tabs
15+
- navigation.tabs.sticky
416

517
plugins:
618
- search

mkdocs.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
INHERIT: mkdocs.base.yml
22

3-
#! dev_addr: 127.0.0.1:1357
4-
53
plugins:
64
- search
7-
- tags:
8-
tags_file: tags.md
95
- file-filter:
106
config: !ENV [MY_FILE_FILTER_CONFIG, ".file-filter.yml"]
117
# enabled: !ENV [CI, true]

poetry.lock

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ flake8 = "^6.0.0"
7070
bandit = "^1.7.5"
7171
ruff = "^0.0.261"
7272
pyupgrade = "^3.3.1"
73-
mypy = "^1.1.1"
73+
mypy = "^1.2.0"
7474
types-pyyaml = "^6.0.12.9"
7575
types-setuptools = "^67.6.0.7"
7676
poetry-plugin-up = { extras = ["plugin"], version = "^0.3.0" }

0 commit comments

Comments
 (0)