mirror of
https://github.com/actions/setup-python
synced 2025-04-08 08:19:49 +00:00
Documentation update for caching poetry dependencies (#908)
* Create testing.yml * Update testing.yml * Fix for parsing version number from TOML 1.0.0 pyproject.toml file * Delete .github/workflows/testing.yml * fixed license issue * updated the Note * updated doc * updated the doc * npm run build * Mark up corrections --------- Co-authored-by: gowridurgad <gowridurga@github.com> Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
This commit is contained in:
@ -319,6 +319,7 @@ steps:
|
||||
- run: poetry install
|
||||
- run: poetry run pytest
|
||||
```
|
||||
>**Note:** If the `setup-python` version does not match the version specified in `pyproject.toml` and the python version in `pyproject.toml` is less than the runner's python version, `poetry install` will default to using the runner's Python version.
|
||||
|
||||
**Using a list of file paths to cache dependencies**
|
||||
```yaml
|
||||
|
Reference in New Issue
Block a user