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: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: "true"
- name: Run Ruff
run: uv run ruff check . --output-format=github
- name: Ruff format
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: "true"
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- run: uv build --prerelease=allow
# Allow prerelease if explicitly marked in pyproject.toml so we can prerelease in conjunction
# with engine updates.
- run: uv build --prerelease=explicit
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: "true"
- name: Run tests
run: |
uv run -p ${{ matrix.python-version }} --prerelease=allow pytest
Expand All @@ -35,8 +37,12 @@ jobs:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: "true"
- name: Set up env
run: uv sync --prerelease=allow
# Allow prerelease if explicitly marked in pyproject.toml so we can prerelease in conjunction
# with engine updates.
run: uv sync --prerelease=explicit
- name: Install package
run: source .venv/bin/activate && uv pip install .
- name: Check entry point
Expand Down