@@ -11,12 +11,12 @@ jobs:
11
11
fail-fast : false
12
12
matrix :
13
13
os : [ubuntu]
14
- python-version : [ '3.6', '3.7', '3.8', '3.9', 'pypy3' ]
14
+ python-version : [ '3.6', '3.7', '3.8', '3.9', '3.10-dev', ' pypy3' ]
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v1
17
+ uses : actions/checkout@v2
18
18
- name : Install Python ${{ matrix.python-version }}
19
- uses : actions/setup-python@v1
19
+ uses : actions/setup-python@v2
20
20
with :
21
21
python-version : ${{ matrix.python-version }}
22
22
architecture : ' x64'
@@ -28,10 +28,10 @@ jobs:
28
28
run : |
29
29
echo "::set-output name=dir::$(pip cache dir)"
30
30
- name : Cache pip
31
- uses : actions/cache@v1
31
+ uses : actions/cache@v2
32
32
with :
33
33
path : ${{ steps.pip-cache.outputs.dir }}
34
- key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py ') }}
34
+ key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.cfg ') }}
35
35
restore-keys : |
36
36
${{ runner.os }}-pip-${{ matrix.python-version }}-
37
37
${{ runner.os }}-pip-
@@ -45,17 +45,17 @@ jobs:
45
45
- name : Run the tests
46
46
if : ${{ matrix.python-version != 'pypy3' }}
47
47
run : |
48
- pytest -vv jupyter_server --cov jupyter_server --cov-branch --cov-report term-missing:skip-covered
48
+ pytest -vv --cov jupyter_server --cov-branch --cov-report term-missing:skip-covered
49
49
- name : Run the tests on pypy
50
50
if : ${{ matrix.python-version == 'pypy3' }}
51
51
run : |
52
- pytest -vv jupyter_server
52
+ pytest -vv
53
53
- name : Install the Python dependencies for the examples
54
54
run : |
55
55
cd examples/simple && pip install -e .
56
56
- name : Run the tests for the examples
57
57
run : |
58
- pytest examples/simple/tests/test_handlers.py
58
+ pytest examples/simple/tests/test_handlers.py --confcutdir=$PWD
59
59
- name : Coverage
60
60
if : ${{ matrix.python-version != 'pypy3' }}
61
61
run : |
0 commit comments