@@ -15,17 +15,17 @@ jobs:
1515 os : [ubuntu-latest]
1616 python-version : [3.8]
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v3
1919 - name : Set up Python ${{ matrix.python-version }}
20- uses : actions/setup-python@v2
20+ uses : actions/setup-python@v4
2121 with :
2222 python-version : ${{ matrix.python-version }}
2323 - name : Get pip cache dir
2424 id : pip-cache
2525 run : |
2626 echo "::set-output name=dir::$(pip cache dir)"
2727 - name : pip cache
28- uses : actions/cache@v2
28+ uses : actions/cache@v3
2929 with :
3030 path : ${{ steps.pip-cache.outputs.dir }}
3131 key : py${{ matrix.python-version }}-${{ matrix.os }}-pip
@@ -40,16 +40,16 @@ jobs:
4040 fail-fast : false
4141 matrix :
4242 os : [ubuntu-latest, windows-latest]
43- python-version : [3.6, 3. 7, 3.8, 3.9, "3.10", pypy3 ]
43+ python-version : [3.7, 3.8, 3.9, "3.10", "3.11", "pypy-3.7" ]
4444 exclude :
4545 - os : windows-latest
46- python-version : pypy3
46+ python-version : " pypy-3.7 "
4747 env :
4848 OS : ${{ matrix.os }}
4949 steps :
50- - uses : actions/checkout@v2
50+ - uses : actions/checkout@v3
5151 - name : Set up Python ${{ matrix.python-version }}
52- uses : actions/setup-python@v2
52+ uses : actions/setup-python@v4
5353 with :
5454 python-version : ${{ matrix.python-version }}
5555 - name : Get pip cache dir
5858 python -m pip install -U pip # to ensure version > 20 to have cache dir
5959 echo "::set-output name=dir::$(pip cache dir)"
6060 - name : pip cache
61- uses : actions/cache@v2
61+ uses : actions/cache@v3
6262 with :
6363 path : ${{ steps.pip-cache.outputs.dir }}
6464 key : py${{ matrix.python-version }}-${{ matrix.os }}-pip
6868 python -m pip install pytest pytest-cov tox
6969 - name : Run tests
7070 run : |
71- TOX_PYTHON_VERSION=$(if [ ${{ matrix.python-version }} = pypy3 ]; then echo "pypy3"; else echo py${{ matrix.python-version }} | tr -d .-; fi)
71+ TOX_PYTHON_VERSION=$(if [ ${{ matrix.python-version }} = pypy-3.7 ]; then echo "pypy3"; else echo py${{ matrix.python-version }} | tr -d .-; fi)
7272 COV_CMD=$(if [ ${{ matrix.python-version }} = 3.8 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep $TOX_PYTHON_VERSION | paste -sd "," -)
7373 - name : Upload coverage to Codecov
7474 uses : codecov/codecov-action@v1
0 commit comments