@@ -35,45 +35,46 @@ jobs:
3535 runs-on : ubuntu-latest
3636 steps :
3737 - uses : actions/checkout@v2
38- - name : Set up Python 3.7
39- uses : actions/setup-python@v2
38+ - uses : actions/setup-python@v4
4039 with :
41- python-version : 3.7
40+ python-version : ' 3.9'
41+ check-latest : true
4242 - run : bash .github/workflows/install_ci_python_dep.sh
4343 - run : pre-commit run -a
4444
4545 test :
4646 # Test suite run against recent python versions
4747 # and against a few combination of MongoDB and pymongo
48- runs-on : ubuntu-latest
48+ runs-on : ubuntu-20.04
4949 strategy :
5050 fail-fast : false
5151 matrix :
52- python-version : [3.6, 3. 7, 3.8, 3.9, "3.10", pypy3]
52+ python-version : [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9 ]
5353 MONGODB : [$MONGODB_4_0]
5454 PYMONGO : [$PYMONGO_3_11]
5555 include :
5656 - python-version : 3.7
5757 MONGODB : $MONGODB_3_6
5858 PYMONGO : $PYMONGO_3_9
59- - python-version : 3.7
59+ - python-version : 3.8
6060 MONGODB : $MONGODB_4_4
6161 PYMONGO : $PYMONGO_3_11
62- - python-version : 3.7
62+ - python-version : 3.9
6363 MONGODB : $MONGODB_4_4
6464 PYMONGO : $PYMONGO_3_12
65- - python-version : 3.9
65+ - python-version : " 3.10 "
6666 MONGODB : $MONGODB_4_4
6767 PYMONGO : $PYMONGO_4_0
68- - python-version : " 3.10 "
68+ - python-version : " 3.11 "
6969 MONGODB : $MONGODB_5_0
7070 PYMONGO : $PYMONGO_4_3
7171 steps :
7272 - uses : actions/checkout@v2
7373 - name : Set up Python ${{ matrix.python-version }}
74- uses : actions/setup-python@v2
74+ uses : actions/setup-python@v4
7575 with :
7676 python-version : ${{ matrix.python-version }}
77+ check-latest : true
7778 - name : install mongo and ci dependencies
7879 run : |
7980 bash .github/workflows/install_mongo.sh ${{ matrix.MONGODB }}
9798 steps :
9899 - uses : actions/checkout@v2
99100 - name : Set up Python ${{ matrix.python-version }}
100- uses : actions/setup-python@v2
101+ uses : actions/setup-python@v4
101102 with :
102103 python-version : 3.7
104+ check-latest : true
103105 - name : install python dep
104106 run : |
105107 pip install -e .
@@ -115,10 +117,10 @@ jobs:
115117 if : github.event_name != 'pull_request'
116118 steps :
117119 - uses : actions/checkout@master
118- - name : Set up Python 3.7
119- uses : actions/setup-python@v1
120+ - uses : actions/setup-python@v4
120121 with :
121- python-version : 3.7
122+ python-version : 3.9
123+ check-latest : true
122124 - name : build dummy wheel for test-pypi
123125 run : |
124126 pip install wheel
@@ -138,10 +140,11 @@ jobs:
138140 if : github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
139141 steps :
140142 - uses : actions/checkout@master
141- - name : Set up Python 3.7
142- uses : actions/setup-python@v1
143+ - name : Set up Python 3.9
144+ uses : actions/setup-python@v4
143145 with :
144- python-version : 3.7
146+ python-version : 3.9
147+ check-latest : true
145148 # todo separate build from publish
146149 # https://stackoverflow.com/questions/59349905/which-properties-does-github-event-in-a-github-workflow-have
147150 - name : build dummy wheel for test-pypi
0 commit comments