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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- run: uv sync --dev
- run: uv sync --dev --frozen
- run: uv run python scripts/validate_no_upstream_deps.py
- run: uv run ruff check src/
- run: uv run mypy src/omnibase_compat --strict
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/release-dry-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release Dry Run

on:
pull_request:
branches: [main]

jobs:
dry-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: astral-sh/setup-uv@v3
with:
python-version: '3.12'

- name: Build package
run: uv build

- name: Verify build artifacts
run: |
ls dist/*.whl dist/*.tar.gz
echo "Build artifacts verified."

release-dry-run-summary:
name: Release Dry Run Summary
runs-on: ubuntu-latest
needs: [dry-run]
if: always()
steps:
- name: Check all jobs passed
run: |
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
echo "One or more required jobs failed or were cancelled"
exit 1
fi
echo "All required jobs passed"
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,10 @@ addopts = "--tb=short"
[tool.coverage.report]
fail_under = 80


[tool.uv]
required-environments = [
"sys_platform == 'linux' and platform_machine == 'x86_64'",
"sys_platform == 'darwin'",
"sys_platform == 'win32'",
]
Loading
Loading