Skip to content

Commit 61dce63

Browse files
authored
Update Test Workflow (#146)
* add more python versions ** remove 3.7 ** add 3.11, 3.12 * update checkout and python setup actions * version patch * fix tidy-html5 test library install on mac-os runner
1 parent 7d88d64 commit 61dce63

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3939
with:
4040
ref: ${{ inputs.tag }}
4141
call-metadata-workflow:
@@ -49,7 +49,7 @@ jobs:
4949
contents: write
5050
steps:
5151
- name: Checkout
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353
with:
5454
ref: ${{ inputs.tag }}
5555
- name: Install Explicitly Set mkdocs-terminal Version

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050
with:
5151
ref: ${{ inputs.tag }}
5252
call-metadata-workflow:
@@ -60,12 +60,12 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- name: Checkout repository
63-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
6464
with:
6565
ref: ${{ inputs.tag }}
6666

6767
- name: Set up Python runtime
68-
uses: actions/setup-python@v4
68+
uses: actions/setup-python@v5
6969
with:
7070
python-version: ${{ env.PYTHON_VERSION }}
7171

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
python: ['3.7', '3.8', '3.9', '3.10']
11+
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
1212
platform: [ubuntu-latest, macos-latest, windows-latest]
1313
runs-on: ${{ matrix.platform }}
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python }}
18-
uses: actions/setup-python@v3
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: ${{ matrix.python }}
2121
- if: ${{ matrix.platform == 'ubuntu-latest' }}
@@ -25,7 +25,11 @@ jobs:
2525
- if: ${{ matrix.platform == 'macos-latest' }}
2626
name: (macos) Install Testing Prereqs
2727
run: |
28-
brew install tidy-html5
28+
git clone https://github.com/htacg/tidy-html5.git
29+
cd tidy-html5/build/cmake
30+
cmake ../.. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
31+
make
32+
sudo make install
2933
- name: Install Tox
3034
run: make install-tox
3135
- name: Test Build/Package with Tox

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mkdocs-terminal",
3-
"version": "4.4.0",
3+
"version": "4.4.1",
44
"description": "Terminal.css theme for MkDocs",
55
"keywords": [
66
"mkdocs",
@@ -25,4 +25,4 @@
2525
"engines": {
2626
"node": ">= 16"
2727
}
28-
}
28+
}

terminal/theme_version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-terminal-4.4.0">
1+
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-terminal-4.4.1">

0 commit comments

Comments
 (0)