From bddae807d66c6789e0c30dab9884445127ae0dfd Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 1 Mar 2022 12:51:11 -0600 Subject: [PATCH 1/4] add minimum version test --- .github/workflows/python-linux.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/python-linux.yml b/.github/workflows/python-linux.yml index 0bc5e2095..cf911c17f 100644 --- a/.github/workflows/python-linux.yml +++ b/.github/workflows/python-linux.yml @@ -72,6 +72,18 @@ jobs: pip install -r doc-requirements.txt make html SPHINXOPTS="-W" + test_miniumum_verisons: + name: Test Minimum Versions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Base Setup + uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - name: Install miniumum versions + uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1 + - name: Run the unit tests + run: pytest -vv + make_sdist: name: Make SDist runs-on: ubuntu-latest From 5ee3ad6fbb877b8ae35b7d31ba27df5cbe360a67 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 1 Mar 2022 14:51:24 -0600 Subject: [PATCH 2/4] add python version --- .github/workflows/python-linux.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python-linux.yml b/.github/workflows/python-linux.yml index cf911c17f..c2bec7ae5 100644 --- a/.github/workflows/python-linux.yml +++ b/.github/workflows/python-linux.yml @@ -75,6 +75,9 @@ 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 From 7f953cd04a608092d762c0b980050cececcf3c04 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 1 Mar 2022 15:48:29 -0600 Subject: [PATCH 3/4] fix pytest invocation --- .github/workflows/python-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-linux.yml b/.github/workflows/python-linux.yml index c2bec7ae5..d1f1bfe9c 100644 --- a/.github/workflows/python-linux.yml +++ b/.github/workflows/python-linux.yml @@ -85,7 +85,7 @@ jobs: - name: Install miniumum versions uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1 - name: Run the unit tests - run: pytest -vv + run: pytest -vv --pyargs jupyter_server make_sdist: name: Make SDist From 0869a8cd77def6675a776d4bc174e0d8a292f7f8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 1 Mar 2022 15:58:35 -0600 Subject: [PATCH 4/4] update test --- .github/workflows/python-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-linux.yml b/.github/workflows/python-linux.yml index d1f1bfe9c..c2bec7ae5 100644 --- a/.github/workflows/python-linux.yml +++ b/.github/workflows/python-linux.yml @@ -85,7 +85,7 @@ jobs: - name: Install miniumum versions uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1 - name: Run the unit tests - run: pytest -vv --pyargs jupyter_server + run: pytest -vv make_sdist: name: Make SDist