Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Run linting (fail fast)
run: |
uv sync --frozen
uv sync --frozen --all-groups
uv run ruff check
uv run ruff format --check

Expand All @@ -43,13 +43,12 @@ jobs:
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "otdf-python-proto/uv.lock"
cache-dependency-glob: "uv.lock"

- name: Run otdf-python-proto unit tests
working-directory: otdf-python-proto
run: |
uv sync --frozen --group dev
uv run pytest --tb=short -v tests/
uv sync --frozen --all-groups
uv run --package otdf-python-proto pytest --tb=short -v packages/otdf-python-proto/tests/

# Step 2b: Build (only after linting passes)
build:
Expand All @@ -70,7 +69,7 @@ jobs:
- name: Build otdf-python wheel using uv
run: |
uv sync --frozen
uv build
uv build --wheel --package otdf-python
shell: bash

- name: Find built wheel
Expand Down Expand Up @@ -101,7 +100,7 @@ jobs:

- name: Run unit tests
run: |
uv sync --frozen
uv sync --frozen --all-groups
uv run pytest -m "not integration" --tb=short -v tests/

# Step 4: Integration tests (only after unit tests pass)
Expand Down
8 changes: 4 additions & 4 deletions .release-please-config-develop.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
"include-v-in-tag": true,
"bootstrap-sha": "5ed358b3e2e0fd12dc336133f701b4ba5d8a298c",
"packages": {
".": {
"packages/otdf-python": {
"release-type": "python",
"package-name": "otdf-python",
"prerelease": true,
"prerelease-type": "alpha",
"extra-files": [
"pyproject.toml",
"packages/otdf-python/pyproject.toml",
{
"path": "uv.lock",
"type": "toml",
"jsonpath": "$.package[?(@.name.value=='otdf-python')].version"
},
{
"path": "otdf-python-proto/pyproject.toml",
"path": "packages/otdf-python-proto/pyproject.toml",
"type": "toml",
"jsonpath": "$.project.version"
},
{
"path": "otdf-python-proto/uv.lock",
"path": "uv.lock",
"type": "toml",
"jsonpath": "$.package[?(@.name.value=='otdf-python-proto')].version"
}
Comment thread
b-long marked this conversation as resolved.
Expand Down
8 changes: 4 additions & 4 deletions .release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
"include-v-in-tag": true,
"bootstrap-sha": "5ed358b3e2e0fd12dc336133f701b4ba5d8a298c",
"packages": {
".": {
"packages/otdf-python": {
"release-type": "python",
"package-name": "otdf-python",
"extra-files": [
"pyproject.toml",
"packages/otdf-python/pyproject.toml",
{
"path": "uv.lock",
"type": "toml",
"jsonpath": "$.package[?(@.name.value=='otdf-python')].version"
},
{
"path": "otdf-python-proto/pyproject.toml",
"path": "packages/otdf-python-proto/pyproject.toml",
"type": "toml",
"jsonpath": "$.project.version"
},
{
"path": "otdf-python-proto/uv.lock",
"path": "uv.lock",
"type": "toml",
"jsonpath": "$.package[?(@.name.value=='otdf-python-proto')].version"
}
Comment thread
b-long marked this conversation as resolved.
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest-develop.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.1"
"packages/otdf-python": "0.3.1"
}
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.6.0"
"packages/otdf-python": "0.6.0"
}
134 changes: 0 additions & 134 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Loading
Loading