Skip to content

Commit 7642246

Browse files
authored
Merge pull request #875 from edgarrmondragon/codspeed-ubuntu-22.04
Use v3 of the CodSpeed action
2 parents 6383c07 + c63734d commit 7642246

File tree

4 files changed

+80
-38
lines changed

4 files changed

+80
-38
lines changed

.github/workflows/codspeed.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
python -c 'import pendulum._pendulum'
4747
4848
- name: Run benchmarks
49-
uses: CodSpeedHQ/action@v1
49+
uses: CodSpeedHQ/action@v3
5050
with:
5151
token: ${{ secrets.CODSPEED_TOKEN }}
5252
run: pytest tests/ --codspeed

.github/workflows/tests.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,7 @@ jobs:
5454
5555
- name: Install poetry
5656
run: |
57-
curl -fsS https://install.python-poetry.org | python - --preview -y
58-
59-
- name: Update PATH
60-
if: ${{ matrix.os != 'Windows' }}
61-
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
62-
63-
- name: Update Path for Windows
64-
if: ${{ matrix.os == 'Windows' }}
65-
run: echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
57+
pipx install poetry>=2
6658
6759
- name: Configure poetry
6860
run: poetry config virtualenvs.in-project true
@@ -90,7 +82,7 @@ jobs:
9082

9183
- name: Uninstall typing dependencies
9284
# This ensures pendulum runs without typing_extensions installed
93-
run: poetry install --only main --only test --only build --sync --no-root -vvv
85+
run: poetry sync --only main --only test --only build --no-root -vvv
9486

9587
- name: Test Pure Python
9688
run: |

0 commit comments

Comments
 (0)