File tree Expand file tree Collapse file tree
Open diff view settings
Expand file tree Collapse file tree
Open diff view settings
Original file line number Diff line number Diff line change 3737 key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root-docs
3838 - name : Install poetry
3939 if : steps.cache.outputs.cache-hit != 'true'
40+ # TODO: remove python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
41+ # once there's a release of Poetry 1.2.x including poetry-core > 1.1.0a6
42+ # Ref: https://github.com/python-poetry/poetry-core/pull/188
4043 run : |
4144 python -m pip install --upgrade pip
42- python -m pip install "poetry==1.2.0b1"
45+ python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
46+ python -m pip install "poetry==1.2.0a2"
4347 python -m poetry plugin add poetry-version-plugin
4448 - name : Configure poetry
4549 run : python -m poetry config virtualenvs.create false
Original file line number Diff line number Diff line change 3333 key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root
3434 - name : Install poetry
3535 if : steps.cache.outputs.cache-hit != 'true'
36+ # TODO: remove python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
37+ # once there's a release of Poetry 1.2.x including poetry-core > 1.1.0a6
38+ # Ref: https://github.com/python-poetry/poetry-core/pull/188
3639 run : |
3740 python -m pip install --upgrade pip
38- python -m pip install "poetry==1.2.0b1"
41+ python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
42+ python -m pip install "poetry==1.2.0a2"
3943 python -m poetry plugin add poetry-version-plugin
4044 - name : Configure poetry
4145 run : python -m poetry config virtualenvs.create false
Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-20.04
1919 strategy :
2020 matrix :
21- python-version : ["3.6", "3.7", "3.8", "3.9", "3.10"]
21+ python-version : ["3.6.15 ", "3.7", "3.8", "3.9", "3.10"]
2222 fail-fast : false
2323
2424 steps :
@@ -40,17 +40,21 @@ jobs:
4040 key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root
4141 - name : Install poetry
4242 if : steps.cache.outputs.cache-hit != 'true'
43+ # TODO: remove python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
44+ # once there's a release of Poetry 1.2.x including poetry-core > 1.1.0a6
45+ # Ref: https://github.com/python-poetry/poetry-core/pull/188
4346 run : |
4447 python -m pip install --upgrade pip
45- python -m pip install "poetry==1.2.0b1"
48+ python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
49+ python -m pip install "poetry==1.2.0a2"
4650 python -m poetry plugin add poetry-version-plugin
4751 - name : Configure poetry
4852 run : python -m poetry config virtualenvs.create false
4953 - name : Install Dependencies
5054 if : steps.cache.outputs.cache-hit != 'true'
5155 run : python -m poetry install
5256 - name : Lint
53- if : ${{ matrix.python-version != '3.6' }}
57+ if : ${{ matrix.python-version != '3.6.15 ' }}
5458 run : python -m poetry run bash scripts/lint.sh
5559 - name : Test
5660 run : python -m poetry run bash scripts/test.sh
Original file line number Diff line number Diff line change @@ -102,3 +102,5 @@ strict_equality = true
102102[[tool .mypy .overrides ]]
103103module = " sqlmodel.sql.expression"
104104warn_unused_ignores = false
105+
106+ # invalidate CI cache: 1
You can’t perform that action at this time.
0 commit comments