@@ -11,12 +11,12 @@ jobs:
1111 fail-fast : false
1212 matrix :
1313 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' ]
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v1
17+ uses : actions/checkout@v2
1818 - name : Install Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v1
19+ uses : actions/setup-python@v2
2020 with :
2121 python-version : ${{ matrix.python-version }}
2222 architecture : ' x64'
@@ -28,10 +28,10 @@ jobs:
2828 run : |
2929 echo "::set-output name=dir::$(pip cache dir)"
3030 - name : Cache pip
31- uses : actions/cache@v1
31+ uses : actions/cache@v2
3232 with :
3333 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 ') }}
3535 restore-keys : |
3636 ${{ runner.os }}-pip-${{ matrix.python-version }}-
3737 ${{ runner.os }}-pip-
@@ -45,17 +45,17 @@ jobs:
4545 - name : Run the tests
4646 if : ${{ matrix.python-version != 'pypy3' }}
4747 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
4949 - name : Run the tests on pypy
5050 if : ${{ matrix.python-version == 'pypy3' }}
5151 run : |
52- pytest -vv jupyter_server
52+ pytest -vv
5353 - name : Install the Python dependencies for the examples
5454 run : |
5555 cd examples/simple && pip install -e .
5656 - name : Run the tests for the examples
5757 run : |
58- pytest examples/simple/tests/test_handlers.py
58+ pytest examples/simple/tests/test_handlers.py --confcutdir=$PWD
5959 - name : Coverage
6060 if : ${{ matrix.python-version != 'pypy3' }}
6161 run : |
0 commit comments