Skip to content

Commit 68b925d

Browse files
committed
fixes codespeed workflow
1 parent 073d3c4 commit 68b925d

File tree

5 files changed

+31
-62
lines changed

5 files changed

+31
-62
lines changed

.github/workflows/codspeed.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v3
17+
- uses: actions/setup-python@v4
1818
with:
1919
python-version: "3.9"
2020

@@ -25,21 +25,14 @@ jobs:
2525
2626
- name: Install poetry
2727
run: |
28-
curl -fsS https://install.python-poetry.org | python - -y
29-
30-
- name: Update PATH
31-
if: ${{ matrix.os != 'Windows' }}
32-
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
28+
pipx install poetry>=2
3329
3430
- name: Configure poetry
35-
run: poetry config virtualenvs.create false
31+
run: poetry config virtualenvs.in-project true
3632

3733
- name: Install dependencies
3834
run: poetry install --only test --only benchmark --only build -vvv --no-root
3935

40-
- name: Install project
41-
run: poetry install --only test --only benchmark --only build -vvv --no-root
42-
4336
- name: Install pendulum and check extensions
4437
run: |
4538
poetry run pip install -e . -vvv

poetry.lock

Lines changed: 26 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,5 @@ omit = [
217217
]
218218

219219
[build-system]
220-
# requires = ["poetry-core>=1.0.8"]
221-
# build-backend = "poetry.core.masonry.api"
222220
requires = ["maturin>=1.0,<2.0"]
223221
build-backend = "maturin"

rust/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "_pendulum"
3-
version = "3.0.1"
3+
version = "3.0.0"
44
edition = "2021"
55

66
[lib]

0 commit comments

Comments
 (0)