Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trim21/install-poetry-project
https://github.com/trim21/install-poetry-project
actions github-actions python-poetry
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/trim21/install-poetry-project
- Owner: trim21
- License: mit
- Created: 2020-06-02T02:38:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T23:07:32.000Z (29 days ago)
- Last Synced: 2024-10-20T07:51:25.048Z (28 days ago)
- Topics: actions, github-actions, python-poetry
- Language: TypeScript
- Homepage:
- Size: 13.9 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Install Poetry Project With Cache
[![ci](https://github.com/Trim21/install-poetry-project/workflows/build-test/badge.svg)](https://github.com/Trim21/install-poetry-project/actions)
This action install poetry deps to `.venv`, and enable virtualenv environment.
virtualenv environment `.venv` will be cached based on `pyproject.toml` and `poetry.lock`(if exist)
```yaml
- uses: actions/checkout@v3- uses: actions/setup-python@v3
with:
python-version: 3.7- uses: Trim21/setup-poetry@dist/v2
- uses: Trim21/install-poetry-project@dist/v2
with:
# extras arguments passed to poetry command
# And you don't need to add --sync args, it will be added automatically
install_args: -vvv --no-root
# each deps for one line
extras: |
group1
group2
```