3535 with :
3636 submodules : true
3737 fetch-depth : 2
38- - uses : actions/setup-python@v3
38+ - uses : actions/setup-python@v5
3939 with :
40- # Because of https://github.com/tree-sitter/py-tree-sitter/issues/162
41- python-version : ' 3.11.x'
40+ python-version : " 3.12"
4241 - name : Install CLI
4342 run : |
4443 pip install codecov-cli
5554 fail-fast : false
5655 matrix :
5756 include :
57+ - python-version : " 3.12"
5858 - python-version : " 3.11"
5959 - python-version : " 3.10"
6060 - python-version : " 3.9"
@@ -65,14 +65,14 @@ jobs:
6565 submodules : true
6666 fetch-depth : 2
6767 - name : Set up Python ${{matrix.python-version}}
68- uses : actions/setup-python@v3
68+ uses : actions/setup-python@v5
6969 with :
7070 python-version : " ${{matrix.python-version}}"
7171 - name : Install dependencies
7272 run : |
7373 python -m pip install --upgrade pip
7474 pip install -r requirements.txt
75- python setup.py develop
75+ python -m pip install -e .
7676 pip install -r tests/requirements.txt
7777 - name : Test with pytest
7878 run : |
9292 with :
9393 submodules : true
9494 fetch-depth : 2
95- - uses : actions/setup-python@v3
95+ - uses : actions/setup-python@v5
9696 with :
97- # Because of https://github.com/tree-sitter/py-tree-sitter/issues/162
98- python-version : ' 3.11.x'
97+ python-version : " 3.12"
9998 - name : Install CLI
10099 run : |
101100 pip install codecov-cli
@@ -116,10 +115,9 @@ jobs:
116115 with :
117116 submodules : true
118117 fetch-depth : 0
119- - uses : actions/setup-python@v3
118+ - uses : actions/setup-python@v5
120119 with :
121- # Because of https://github.com/tree-sitter/py-tree-sitter/issues/162
122- python-version : ' 3.11.x'
120+ python-version : " 3.12"
123121 - name : Install CLI
124122 run : |
125123 pip install -r requirements.txt -r tests/requirements.txt
@@ -141,6 +139,7 @@ jobs:
141139 fail-fast : false
142140 matrix :
143141 include :
142+ - python-version : " 3.12"
144143 - python-version : " 3.11"
145144 - python-version : " 3.10"
146145 - python-version : " 3.9"
@@ -151,14 +150,14 @@ jobs:
151150 submodules : true
152151 fetch-depth : 2
153152 - name : Set up Python ${{matrix.python-version}}
154- uses : actions/setup-python@v3
153+ uses : actions/setup-python@v5
155154 with :
156155 python-version : " ${{matrix.python-version}}"
157156 - name : Install dependencies
158157 run : |
159158 python -m pip install --upgrade pip
160159 pip install -r requirements.txt
161- python setup.py develop
160+ python -m pip install -e .
162161 pip install -r tests/requirements.txt
163162 - name : Test with pytest
164163 run : |
0 commit comments