Skip to content

Commit f914126

Browse files
author
Steven Silvester
authored
clean up link checking (#569)
1 parent 559ea43 commit f914126

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/check-release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
check_release:
1010
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
group: [check_release, link_check]
1114
steps:
1215
- name: Checkout
1316
uses: actions/checkout@v2
@@ -29,6 +32,7 @@ jobs:
2932
${{ runner.os }}-pip-
3033
${{ runner.os }}-pip-
3134
- name: Cache checked links
35+
if: ${{ matrix.group == 'link_check' }}
3236
uses: actions/cache@v2
3337
with:
3438
path: ~/.cache/pytest-link-check
@@ -42,6 +46,10 @@ jobs:
4246
run: |
4347
pip install -e .
4448
- name: Check Release
49+
if: ${{ matrix.group == 'check_release' }}
4550
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
4651
with:
4752
token: ${{ secrets.GITHUB_TOKEN }}
53+
- name: Run Link Check
54+
if: ${{ matrix.group == 'link_check' }}
55+
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ testpaths = [
1414
"jupyter_server"
1515
]
1616

17+
[tool.jupyter-releaser]
18+
skip = ["check-links"]
19+
1720
[tool.tbump.version]
1821
current = "1.11.0.dev0"
1922
regex = '''

0 commit comments

Comments
 (0)