Skip to content

Commit

Permalink
Fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phausamann committed Feb 9, 2025
1 parent 1e8b4ca commit 1e957c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and package
run: uv sync --all-extras --group tests
run: uv sync --all-extras --group test
- name: Test with pytest
run: uv run pytest

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Set up Python with uv
uses: astral-sh/setup-uv@v5
with:
python-version: 3.10
python-version: "3.10"
- name: Package
run: uv build
- name: Publish package
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Set up Python with uv
uses: astral-sh/setup-uv@v5
with:
python-version: 3.10
python-version: "3.10"
- name: Install dependencies and package
run: uv sync --all-extras --group docs
- name: Build Sphinx docs and run doctests
Expand All @@ -105,7 +105,9 @@ jobs:
- name: Set up Python with uv
uses: astral-sh/setup-uv@v5
with:
python-version: 3.10
python-version: "3.10"
- name: Install dependencies
run: uv sync --no-install-workspace --group lint
- name: Check black code style
run: uv run black --check .
- name: Lint with flake8
Expand Down
2 changes: 1 addition & 1 deletion ci/conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package:
name: rigid-body-motion
version: {{ data['version'] }}
version: {{ data['project']['version'] }}

source:
path: ../..
Expand Down
2 changes: 1 addition & 1 deletion rigid_body_motion/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ def make_test_motion(
as_quat_array(rotation), np.array(offset)[np.newaxis, :]
)

timestamps = pd.date_range(start=0, periods=n_samples, freq=f"{1/fs}s")
timestamps = pd.date_range(start=0, periods=n_samples, freq=f"{1/fs}S")

return translation, rotation, timestamps

0 comments on commit 1e957c4

Please sign in to comment.