File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2727 id : cache
2828 with :
2929 path : .venv
30- key : venv-${{ runner.os }}-${{ steps.full- python-version.outputs. version }}-${{ hashFiles('**/poetry.lock') }}
30+ key : venv-${{ runner.os }}-${{ matrix. python-version }}-${{ hashFiles('**/poetry.lock') }}
3131 - name : Ensure cache is healthy
3232 if : steps.cache.outputs.cache-hit == 'true'
3333 run : timeout 10s poetry run pip --version || rm -rf .venv
4343 with :
4444 python-version : " 3.7"
4545 - name : Run image
46- uses : abatilo/actions-poetry@v2
46+ uses : abatilo/actions-poetry@v2.1.6
4747 with :
4848 poetry-version : ${{ env.POETRY_VERSION }}
4949 - run : poetry config virtualenvs.in-project true
Original file line number Diff line number Diff line change 44import pytest
55
66
7- @pytest .mark .skipif (sys .version_info < (3 , 9 ))
7+ @pytest .mark .skipif (sys .version_info < (3 , 9 ), reason = "need 3.9 for LiteralType" )
88def test_literal_type_positive () -> None :
99 from typing import Literal
1010
@@ -13,7 +13,7 @@ def test_literal_type_positive() -> None:
1313 assert isinstance (Literal [1 , 2 ], LiteralType )
1414
1515
16- @pytest .mark .skipif (sys .version_info < (3 , 9 ))
16+ @pytest .mark .skipif (sys .version_info < (3 , 9 ), reason = "need 3.9 for LiteralType" )
1717def test_literal_type_negative () -> None :
1818 from basedtyping .runtime_only import LiteralType
1919
You can’t perform that action at this time.
0 commit comments