Skip to content

Commit

Permalink
Merge pull request #348 from consideRatio/pr/test-against-modern-pyth…
Browse files Browse the repository at this point in the history
…on-versions

ci: test against modern python versions and fix broken test suite
  • Loading branch information
consideRatio authored Nov 2, 2022
2 parents 798160e + 43ee556 commit 0208c09
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# specified below, these parameters have no meaning on their own and
# gain meaning on how job steps use them.
jupyterlab_version: [2, 3]
python: [3.6, 3.7, 3.8, 3.9]
python: ["3.6", "3.11"]
jupyter_app: [notebook, lab]

steps:
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/Classic.robot
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*** Comments ***
To learn more about these .robot files, see
https://robotframework-jupyterlibrary.readthedocs.io/en/stable/.

*** Settings ***
Documentation Server Proxies in Notebook Classic
Library JupyterLibrary
Expand Down
4 changes: 4 additions & 0 deletions tests/acceptance/Lab.robot
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*** Comments ***
To learn more about these .robot files, see
https://robotframework-jupyterlibrary.readthedocs.io/en/stable/.

*** Settings ***
Documentation Server Proxies in Lab
Library JupyterLibrary
Expand Down
7 changes: 7 additions & 0 deletions tests/acceptance/__init__.robot
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*** Comments ***
To learn more about these .robot files, see
https://robotframework-jupyterlibrary.readthedocs.io/en/stable/.

*** Settings ***
Documentation Acceptance tests for jupyter-server-proxy
Library JupyterLibrary
Expand All @@ -9,6 +13,9 @@ Suite Teardown Clean Up
Set Up
${notebook dir} = Set Variable ${OUTPUT DIR}${/}notebooks
Copy Directory resources ${notebook dir}
Set Environment Variable
... name=JUPYTER_CONFIG_DIR
... value=${notebook dir}
Wait For New Jupyter Server To Be Ready
... stdout=${OUTPUT DIR}${/}server.log
... notebook_dir=${notebook dir}
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/test_acceptance.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_robot():
shutil.rmtree(OUTPUT)

return_code = subprocess.call(
[*map(str, ["robot", "--outputdir", OUTPUT, HERE])],
["robot", "--consolecolors=on", f"--outputdir={OUTPUT}", str(HERE)],
cwd=str(HERE)
)

Expand Down

0 comments on commit 0208c09

Please sign in to comment.