-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fe3217
commit fbd4815
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,16 +17,18 @@ jobs: | |
pull-requests: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Rye Python Setup | ||
uses: eifinger/setup-rye@v4 | ||
- name: Set up uv | ||
# Install a specific uv version using the installer | ||
run: curl -LsSf https://astral.sh/uv/0.3.3/install.sh | sh | ||
This comment has been minimized.
Sorry, something went wrong. |
||
- name: "Set up Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
version: '0.35.0' | ||
python-version-file: ".python-version" | ||
- name: Install Dependencies | ||
run: rye sync | ||
run: uv sync --all-extras --dev | ||
- name: Run Tests | ||
run: | | ||
source .venv/bin/activate | ||
make test | ||
uv run make test | ||
- name: Attach Code Coverage | ||
uses: py-cov-action/[email protected] | ||
with: | ||
|
consider https://github.com/eifinger/setup-uv