Skip to content

Commit

Permalink
Merge pull request #783 from blink1073/prep-jupyter-releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 14, 2022
2 parents c409411 + 3e7abae commit c2d6c0b
Show file tree
Hide file tree
Showing 13 changed files with 593 additions and 687 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check Release
on:
push:
branches: ["main"]
pull_request:
branches: ["*"]

jobs:
check_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install Dependencies
run: |
pip install -e .
- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
13 changes: 13 additions & 0 deletions .github/workflows/enforce-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Enforce PR label

on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: enforce-triage-label
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ jobs:
- name: Run the unit tests
run: pytest -vv -W default traitlets || pytest -vv -W default traitlets --lf

docs:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install the Python dependencies
run: |
pip install -e .[docs]
- name: Build the docs
run: |
make -C docs html SPHINXOPTS='-W'
test_prereleases:
name: Test Prereleases
timeout-minutes: 10
Expand Down Expand Up @@ -100,6 +113,13 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1

check_links:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1

pre-commit:
name: pre-commit
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ __pycache__
.coverage
.cache
htmlcov
docs/source/CHANGELOG.md
Loading

0 comments on commit c2d6c0b

Please sign in to comment.