@@ -12,10 +12,8 @@ permissions:
1212 contents : read
1313
1414env :
15- FORCE_COLOR : " 1" # Make tools pretty.
16- PYTHON_LATEST : " 3.11"
17- POETRY_VIRTUALENVS_CREATE : false
18-
15+ FORCE_COLOR : " 1"
16+ PYTHON_LATEST : " 3.13"
1917
2018jobs :
2119 linting :
@@ -29,21 +27,20 @@ jobs:
2927 python-version : ${{ env.PYTHON_LATEST }}
3028 - uses : snok/install-poetry@v1
3129 with :
32- version : 1.3.0
30+ version : 2.1.1
3331 virtualenvs-create : true
3432 - name : Install dependencies
3533 run : |
36- poetry self add "poetry-dynamic-versioning[plugin]"
3734 poetry install --only=dev
3835
3936 - name : black
40- run : python -m black --check --diff .
37+ run : poetry run python -m black --check --diff .
4138
4239 - name : flake8
43- run : python -m flake8 .
40+ run : poetry run python -m flake8 .
4441
4542 - name : isort
46- run : python -m isort --check-only -v --profile black .
43+ run : poetry run python -m isort --check-only -v --profile black .
4744
4845 typing :
4946 name : Typing
@@ -56,15 +53,15 @@ jobs:
5653 python-version : ${{ env.PYTHON_LATEST }}
5754 - uses : snok/install-poetry@v1
5855 with :
59- version : 1.3.0
56+ version : 2.1.1
6057 virtualenvs-create : true
6158 - name : Install dependencies
6259 run : |
63- poetry self add "poetry-dynamic-versioning[plugin]"
60+ pip install setuptools
6461 poetry install
6562
6663 - name : mypy
67- run : python -m mypy .
64+ run : poetry run python -m mypy .
6865
6966
7067 tests :
7370 strategy :
7471 fail-fast : false
7572 matrix :
76- python-version : ["3.11 "]
73+ python-version : ["3.13 "]
7774
7875 steps :
7976 - uses : actions/checkout@v3
@@ -82,11 +79,11 @@ jobs:
8279 python-version : ${{ matrix.python-version }}
8380 - uses : snok/install-poetry@v1
8481 with :
85- version : 1.3.0
82+ version : 2.1.1
8683 virtualenvs-create : true
8784 - name : Install dependencies
8885 run : |
89- poetry self add "poetry-dynamic-versioning[plugin]"
86+ pip install setuptools
9087 poetry install
9188
9289 - name : Setup Git
@@ -140,6 +137,9 @@ jobs:
140137
141138 steps :
142139 - uses : actions/checkout@v3
140+ with :
141+ fetch-depth : 0
142+
143143 - uses : actions/setup-python@v4
144144 with :
145145 python-version : ${{ env.PYTHON_LATEST }}
@@ -162,8 +162,12 @@ jobs:
162162
163163 steps :
164164 - uses : actions/checkout@v3
165+ with :
166+ fetch-depth : 0
167+
165168 - uses : actions/setup-python@v4
166169 with :
167170 python-version : ${{ env.PYTHON_LATEST }}
171+
168172 - run : python -m pip install -e .
169173 - run : python -c 'import foxops_client; print(foxops_client.__version__)'
0 commit comments