Fallback if toml file parsing failed (#246)

This commit is contained in:
Kevin Stillhammer
2025-01-16 16:54:33 +01:00
committed by GitHub
parent b5f58b2abc
commit 14dc0be27c
7 changed files with 45 additions and 2 deletions

View File

@ -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