Commit e79ca61 1 parent eccdfa6 commit e79ca61 Copy full SHA for e79ca61
File tree 3 files changed +30
-6
lines changed
3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
branches : ["main"]
5
5
pull_request :
6
- branches : ["*"]
6
+ schedule :
7
+ - cron : " 0 8 * * *"
8
+
7
9
jobs :
8
10
# Run "pre-commit run --all-files"
9
11
pre-commit :
@@ -75,18 +77,36 @@ jobs:
75
77
test_miniumum_verisons :
76
78
name : Test Minimum Versions
77
79
runs-on : ubuntu-latest
78
- strategy :
79
- matrix :
80
- python-version : ["3.7"]
81
80
steps :
82
81
- uses : actions/checkout@v2
83
82
- name : Base Setup
84
83
uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
84
+ with :
85
+ python_version : " 3.7"
85
86
- name : Install miniumum versions
86
87
uses : jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
87
88
- name : Run the unit tests
88
89
run : pytest -vv
89
90
91
+ test_prereleases :
92
+ name : Test test_prereleases
93
+ runs-on : ubuntu-latest
94
+ steps :
95
+ - name : Checkout
96
+ uses : actions/checkout@v2
97
+ - name : Base Setup
98
+ uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
99
+ - name : Install the Python dependencies
100
+ run : |
101
+ pip install --pre -e ".[test]"
102
+ - name : List installed packages
103
+ run : |
104
+ pip freeze
105
+ pip check
106
+ - name : Run the tests
107
+ run : |
108
+ pytest -vv
109
+
90
110
make_sdist :
91
111
name : Make SDist
92
112
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ testpaths = [
15
15
]
16
16
timeout = 300
17
17
timeout_method = " thread"
18
+ filterwarnings = [
19
+ # Fail on warnings
20
+ " error"
21
+ ]
18
22
19
23
[tool .jupyter-releaser ]
20
24
skip = [" check-links" ]
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ install_requires =
40
40
Send2Trash
41
41
terminado>=0.8.3
42
42
prometheus_client
43
- anyio>=3.1.0,<4
43
+ anyio>=3.1.0
44
44
websocket-client
45
45
packaging
46
- pywinpty(<2) ; os_name=='nt'
46
+ pywinpty; os_name=='nt'
47
47
48
48
[options.extras_require]
49
49
test =
You can’t perform that action at this time.
0 commit comments