Skip to content

Commit

Permalink
fixes codespeed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfix committed Feb 25, 2025
1 parent 073d3c4 commit 2884382
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"

Expand All @@ -25,21 +25,14 @@ jobs:
- name: Install poetry
run: |
curl -fsS https://install.python-poetry.org | python - -y
- name: Update PATH
if: ${{ matrix.os != 'Windows' }}
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
pipx install poetry>=2
- name: Configure poetry
run: poetry config virtualenvs.create false
run: poetry config virtualenvs.in-project true

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

- name: Install project
run: poetry install --only test --only benchmark --only build -vvv --no-root

- name: Install pendulum and check extensions
run: |
poetry run pip install -e . -vvv
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,5 @@ omit = [
]

[build-system]
# requires = ["poetry-core>=1.0.8"]
# build-backend = "poetry.core.masonry.api"
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "_pendulum"
version = "3.0.1"
version = "3.0.0"
edition = "2021"

[lib]
Expand Down

0 comments on commit 2884382

Please sign in to comment.