Skip to content

Commit 08e28ac

Browse files
resolved conversation
1 parent dc7a7b2 commit 08e28ac

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/actions/python-environment/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'SPPE'
2-
description: 'Setup python and poetry environment'
2+
description: 'Set up python and poetry environment'
33

44
inputs:
55

@@ -15,7 +15,7 @@ inputs:
1515

1616
working-directory:
1717
description: 'Working directory to use'
18-
required: true
18+
required: false
1919
default: "."
2020

2121
extras:

doc/changes/unreleased.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ permissions to be increased for specific jobs.
2929

3030
## ✨ Features
3131

32-
* [#413](https://github.com/exasol/python-toolbox/pull/413): Add support for installing extras to python-environment action
32+
* [#161](https://github.com/exasol/python-toolbox/issues/161): Added support for installing extras & not using a cache to the python-environment action
33+
* [#408](https://github.com/exasol/python-toolbox/issues/408): Added support for GitHub runners who do not per default have pipx to use the python-environment action

doc/github_actions/python_environment.rst

+7-5
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Parameters
2020
- True
2121
- 2.1.2
2222
* - working-directory
23-
- 'Working directory to use'
24-
- True
23+
- Working directory to use
24+
- False
2525
- .
2626
* - extras
2727
- Comma-separated list of extras
2828
- False
29-
-
29+
- (not used by default)
3030
* - use-cache
3131
- Use cache for poetry environment
3232
- False
@@ -52,10 +52,12 @@ Example Usage
5252
uses: actions/checkout@v4
5353
5454
- name: Setup Python & Poetry Environment
55-
uses: exasol/python-toolbox/.github/actions/python-environment@0.21.0
55+
uses: exasol/python-toolbox/.github/actions/python-environment@1.1.0
5656
with:
5757
python-version: 3.12
5858
poetry-version: 2.1.2
59-
working-directory: .
59+
working-directory: pytest-backend
60+
use-cache: false
61+
extras: 'numpy,pandas'
6062
6163
...

0 commit comments

Comments
 (0)