-
Notifications
You must be signed in to change notification settings - Fork 638
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
poetry env use
is run in the repository's root, causing it to fail since no pyproject.toml
is present.
setup-python/src/cache-distributions/poetry-cache.ts
Lines 37 to 44 in 47c4a7a
const { | |
exitCode, | |
stderr | |
} = await exec.getExecOutput( | |
`poetry env use ${pythonLocation}`, | |
undefined, | |
{ignoreReturnCode: true} | |
); |
Currently, only a warning is being displayed:
Actually, this is solved by @oranav in #447.
Action version:
v4
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
All poetry versions
Repro steps:
Create a repository with a Poetry project inside a subfolder and run the action.
Expected behavior:
Either fail hard or run env use
on all Poetry projects inside the repository
Actual behavior:
Prints a warning
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working