Skip to content

Commit 0fd422c

Browse files
authored
Update to version2 releaser (#1006)
* update to version2 releaser * remove unused cofig * handle path deprecation warning
1 parent 6de8c32 commit 0fd422c

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.github/workflows/check-release.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ on:
88
jobs:
99
check_release:
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
group: [check_release, link_check]
14-
fail-fast: false
1511
steps:
1612
- name: Checkout
1713
uses: actions/checkout@v2
@@ -21,11 +17,6 @@ jobs:
2117
run: |
2218
pip install -e .
2319
- name: Check Release
24-
if: ${{ matrix.group == 'check_release' }}
25-
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
20+
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@version2
2621
with:
27-
version_spec: 100.100.100
2822
token: ${{ secrets.GITHUB_TOKEN }}
29-
- name: Run Link Check
30-
if: ${{ matrix.group == 'link_check' }}
31-
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1

.github/workflows/python-tests.yml

+9
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,15 @@ jobs:
148148
with:
149149
test_command: pytest -vv || pytest -vv --lf
150150

151+
check_links:
152+
name: Check Links
153+
runs-on: ubuntu-latest
154+
timeout-minutes: 15
155+
steps:
156+
- uses: actions/checkout@v2
157+
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
158+
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
159+
151160
python_tests_check: # This job does nothing and is only used for the branch protection
152161
if: always()
153162
needs:

pyproject.toml

+2-4
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,10 @@ filterwarnings = [
109109
"ignore:Passing a schema to Validator.iter_errors:DeprecationWarning",
110110
"ignore:unclosed <socket.socket:ResourceWarning",
111111
"ignore:unclosed event loop:ResourceWarning",
112-
"ignore:run_pre_save_hook is deprecated:DeprecationWarning"
112+
"ignore:run_pre_save_hook is deprecated:DeprecationWarning",
113+
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
113114
]
114115

115-
[tool.jupyter-releaser]
116-
skip = ["check-links"]
117-
118116
[tool.jupyter-releaser.hooks]
119117
before-build-python = ["npm install", "npm run build"]
120118

0 commit comments

Comments
 (0)