Skip to content

Commit

Permalink
clean up link checking (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Silvester authored Aug 11, 2021
1 parent 559ea43 commit f914126
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
check_release:
runs-on: ubuntu-latest
strategy:
matrix:
group: [check_release, link_check]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -29,6 +32,7 @@ jobs:
${{ runner.os }}-pip-
${{ runner.os }}-pip-
- name: Cache checked links
if: ${{ matrix.group == 'link_check' }}
uses: actions/cache@v2
with:
path: ~/.cache/pytest-link-check
Expand All @@ -42,6 +46,10 @@ jobs:
run: |
pip install -e .
- name: Check Release
if: ${{ matrix.group == 'check_release' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Link Check
if: ${{ matrix.group == 'link_check' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ testpaths = [
"jupyter_server"
]

[tool.jupyter-releaser]
skip = ["check-links"]

[tool.tbump.version]
current = "1.11.0.dev0"
regex = '''
Expand Down

0 comments on commit f914126

Please sign in to comment.