mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-16 22:24:45 +00:00
Fallback if toml file parsing failed (#246)
This commit is contained in:
parent
b5f58b2abc
commit
14dc0be27c
7 changed files with 45 additions and 2 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -200,3 +200,15 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
test-malformed-pyproject-file-fallback:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install using malformed pyproject.toml
|
||||
id: setup-uv
|
||||
uses: ./
|
||||
with:
|
||||
pyproject-file: "__tests__/fixtures/malformed-pyproject-toml-project/pyproject.toml"
|
||||
- run: uv sync
|
||||
working-directory: __tests__/fixtures/uv-project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue