Skip to content

Commit

Permalink
Merge pull request #82 from blink1073/use-downstream-test
Browse files Browse the repository at this point in the history
Clean up downstream tests
  • Loading branch information
blink1073 authored Dec 5, 2021
2 parents 9af10ba + 135672d commit c3005f2
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Set up Node
uses: actions/setup-node@v1
- name: Test jupyterlab_server
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
node-version: "12.x"
package_name: jupyterlab_server

- name: Install dependencies
run: |
pip install --upgrade pip
pip install "."
pip install --pre --upgrade jupyterlab[test]
pip freeze
- name: Test jupyterlab
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
package_name: jupyterlab
test_command: "python -m jupyterlab.browser_check --no-browser-test"

- name: Run tests
run: |
python -m jupyterlab.browser_check

0 comments on commit c3005f2

Please sign in to comment.