Skip to content

Commit

Permalink
ci: Upgrade uv to v0.5 (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt authored Nov 8, 2024
1 parent 66fd5e7 commit 134b34a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
version: "0.4.x"
version: "0.5.x"
- run: |
uv run docs/build.py
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
fetch-depth: 0
- uses: astral-sh/setup-uv@v3
with:
version: "0.4.x"
version: "0.5.x"

- run: uv build

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

- run: npx changelogithub@0.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This project uses [uv](https://github.com/astral-sh/uv) for development.
Run tests with:

```sh
uv run pytest --ignore gosling/examples --ignore tools/altair --doctest-modules gosling
uv run pytest
```

The schema bindings (`gosling/schema/`) and docs (`doc/user_guide/API.rst`) are
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "gosling/_version.py"

[tool.pytest.ini_options]
addopts = [
"--ignore=gosling/examples",
"--ignore=tools/altair",
"--doctest-modules"
]
2 changes: 1 addition & 1 deletion uv.lock

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

0 comments on commit 134b34a

Please sign in to comment.