Skip to content

Commit

Permalink
Clean up Dependency Handling (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Mar 3, 2022
1 parent eccdfa6 commit 55d9f68
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/python-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ on:
push:
branches: ["main"]
pull_request:
branches: ["*"]
schedule:
- cron: "0 8 * * *"

jobs:
# Run "pre-commit run --all-files"
pre-commit:
Expand Down Expand Up @@ -75,18 +77,36 @@ jobs:
test_miniumum_verisons:
name: Test Minimum Versions
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
python_version: "3.7"
- name: Install miniumum versions
uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
- name: Run the unit tests
run: pytest -vv

test_prereleases:
name: Test Prereleases
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 the Python dependencies
run: |
pip install --pre -e ".[test]"
- name: List installed packages
run: |
pip freeze
pip check
- name: Run the tests
run: |
pytest -vv
make_sdist:
name: Make SDist
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ install_requires =
Send2Trash
terminado>=0.8.3
prometheus_client
anyio>=3.1.0,<4
anyio>=3.1.0
websocket-client
packaging
pywinpty(<2);os_name=='nt'
pywinpty;os_name=='nt'

[options.extras_require]
test =
Expand Down

0 comments on commit 55d9f68

Please sign in to comment.